======Add Waypoint======
----
Adds a waypoint to the specified [[platforms|platform tile]].
====Signature:====
add_waypoint(tile, waypoint_name, waypoint_coordinate)
^Argument^Description^Type^Required^
|tile|[[platforms|Platform tile]] to which the waypoint will be added.|[[Entity]]|Yes|
|waypoint_name|Name of the waypoint.|[[String]]|Yes|
|waypoint_coordinate|[[Coordinate]] of the waypoint.|[[Coordinate]]|Yes|
The specified [[tile]] must have been previously configured as a moving [[platforms|platform]] either in the [[Map Editor]] or using the [[Create Platform]] function.
====Example:====
add_waypoint(entity["raft"], "east_river_bank", coord[7, 1, 0]);
//Results:// A new waypoint will be added to the [[tile]] with an ID of "raft". The waypoint will be named "east_river_bank" and will be located at [[coordinate]] (7, 1, 0).
Use the **Add Waypoint** function along with the [[Create Platform]] function to allow the player to dynamically place a raft that they can then use to cross a wide river.
----
====Editor Node:====
{{:add_waypoint_node.png?nolink|}}
~~NOTOC~~