Skip to content

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)

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.