diff --git a/README.md b/README.md index e006c61..d3819e8 100644 --- a/README.md +++ b/README.md @@ -2989,7 +2989,7 @@ while all(event.type != pg.QUIT for event in pg.event.get()): ``` ```python - = .collidepoint((x, y)) # Checks if rectangle contains a point. + = .collidepoint((x, y)) # Checks if rectangle contains the point. = .colliderect() # Checks if two rectangles overlap. = .collidelist() # Returns index of first colliding Rect or -1. = .collidelistall() # Returns indexes of all colliding rectangles. diff --git a/index.html b/index.html index ac1b3f2..5b3c15f 100644 --- a/index.html +++ b/index.html @@ -2437,7 +2437,7 @@ rect = pg.Rect(240, 2 -
<bool> = <Rect>.collidepoint((x, y))            # Checks if rectangle contains a point.
+
<bool> = <Rect>.collidepoint((x, y))            # Checks if rectangle contains the point.
 <bool> = <Rect>.colliderect(<Rect>)             # Checks 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 rectangles.