destination

fun destination(): Tile

Returns the destination of the player, as represented by the red flag on the mini-map while traversing. If the player is not moving, this will return Tile.Nil.

Return

The destination of the player.