Skip to content

llEdgeOfWorld

function ll.EdgeOfWorld(Position: vector, Direction: vector): number

Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).

Returns TRUE if the line along Direction from Position hits the edge of the world in the current simulator, returns FALSE if that edge crosses into another simulator.

Parameters
Position (vector)
Direction (vector)

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

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