Skip to contents

Check if point is inside rectangle.

Usage

check_collision_point_rec(point, rec)

Arguments

point

A numeric vector of length 2.

rec

A rectangle.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool CheckCollisionPointRec(Vector2 point, Rectangle rec);