Contains
Description
Contains
is an Extension Function
on Rect
Returns true if the given Rect contains the given screen position.
Example
local testVariable = Rect.New(0, 0, 50, 50).Contains(Vector2.New(1, 1))
Usage
network usage: Any (Client or Server/Host)
returns: bool
parameters:
- rect (Rect)
- point (Vector2)