Added worldId to the getPosition function