ControllerFindClosestPoint CallableControllerFindClosestPoint(point, points, direction): number[]Finds the closest point in a list, favoring the given direction. Used to navigate the active zones with a controller.Parameterspoint: [X: number, Y: number]points: [X: number, Y: number][]direction: Left | Right | Up | DownReturns number[]
Finds the closest point in a list, favoring the given direction.
Used to navigate the active zones with a controller.