AreaTrigger.getWorld

Returns the world id of the area trigger. Keep in mind that area triggers can move between worlds, so world id might change!

Kind: Function

Environments: Game

Game

areaTrigger:getWorld(  )

Open the full Game reference

Parameters:

Name Type Description
areaTrigger AreaTrigger The area trigger user.

Returns:

Type Description
World The current world id of the area trigger.