diff --git a/README.md b/README.md index 405223f..5615cab 100644 --- a/README.md +++ b/README.md @@ -2939,7 +2939,7 @@ while all(event.type != pg.QUIT for event in pg.event.get()): ``` ```python - = .collidepoint((x, y)) # Tests if a point is inside a rectangle. + = .collidepoint((x, y)) # Tests if a point is inside the rectangle. = .colliderect() # Tests if two rectangles overlap. = .collidelist() # Returns index of first colliding Rect or -1. = .collidelistall() # Returns indexes of all colliding Rects. diff --git a/index.html b/index.html index 7f688f6..013411f 100644 --- a/index.html +++ b/index.html @@ -2512,7 +2512,7 @@ rect = pg.Rect(240, 2 -
<bool> = <Rect>.collidepoint((x, y))            # Tests if a point is inside a rectangle.
+
<bool> = <Rect>.collidepoint((x, y))            # Tests if a point is inside the rectangle.
 <bool> = <Rect>.colliderect(<Rect>)             # Tests if two rectangles overlap.
 <int>  = <Rect>.collidelist(<list_of_Rect>)     # Returns index of first colliding Rect or -1.
 <list> = <Rect>.collidelistall(<list_of_Rect>)  # Returns indexes of all colliding Rects.