Skip to content

llTarget

function ll.Target(Position: vector, Range: number): number

This function is to have the script know when it has reached a position.

It registers a Position with a Range that triggers at_target and not_at_target events continuously until unregistered.

Parameters
Position (vector)
Range (number)

Add example usage here showing SLua/Luau syntax with ll.Target().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.