hit_region
Creates an invisible interactive region.
Types
HitState type
luau
type HitState = {
state: Enum.GuiState,
clicked: boolean,
wheel: number,
drag: Vector2,
pointer: Vector2,
}Functions
hit_region
luau
hit_region(s: types.Scope, bounds: Rect, options: types.HitRegionOptions?): types.HitRegion