at_target
LLEvents:on("at_target", function(TargetNumber: number, TargetPosition: vector, CurrentPosition: vector) -- ...end)This event is triggered when the scripted object comes within a defined range of the target position, defined by the llTarget function call.
Parameters
-
TargetNumber(number) -
TargetPosition(vector) -
CurrentPosition(vector)
Examples
Section titled “Examples”Add example usage here showing how to handle the at_target event in SLua/Luau.
Add additional notes, caveats, or tips specific to using this event in SLua/Luau.
See Also
Section titled “See Also”- Related events and functions can be linked here
- LSL equivalent: at_target