Creature goblin = GetCreatureByName("Goblin"); Vector3 goblinPosition = goblin.GetPosition();
Creature dragon = GetCreatureByName("Dragon"); Vector3 newPosition = new Vector3(100, 50, -75); dragon.MoveTo(newPosition);In both of these examples, the GetPosition method is used to retrieve the current position of a creature within the game world. The first example simply stores the position in a variable, while the second example uses it as part of a method call to move the creature to a new position. The package library being used is Aura.Channel.World.Entities.