AngleToWaypoint
Get the angle in degrees from the character to the current waypoint. Returns 0 if no path is active.
CurrentPathAction
Get the action name for a waypoint by index (e.g., 'walk', 'jump', 'fall', 'portal'). Returns empty string if index is out of bounds.
CurrentWaypoint
Get the index of the current waypoint the character is moving toward. Returns -1 if no path is active.
CurrentWaypointX
Get the world X position of the current waypoint. Returns 0 if no path is active.
CurrentWaypointY
Get the world Y position of the current waypoint. Returns 0 if no path is active.
DistanceToWaypoint
Get the distance in pixels from the character to the current waypoint. Returns 0 if no path is active.
IdleSeparation
The idle separation distance in pixels (0 = off).
MaxPathsPerTick
Get the current maximum paths per tick setting.
MaxTraversalDrop
The maximum downward drop this character will traverse by air, in pixels. -1 means no limit.
NearbyAgentCount
Get the number of nearby agents sharing the same navigation map.
NearestLedgeLeftX
The X co-ordinate of the nearest ledge to the left of the character, in pixels. Returns 0 if none exists.
NearestLedgeLeftY
The Y co-ordinate of the nearest ledge to the left of the character, in pixels. Returns 0 if none exists.
NearestLedgeRightX
The X co-ordinate of the nearest ledge to the right of the character, in pixels. Returns 0 if none exists.
NearestLedgeRightY
The Y co-ordinate of the nearest ledge to the right of the character, in pixels. Returns 0 if none exists.
OnSamePlatform
1 if the position is on the same walkable platform as the character (reachable by walking only, no jumps or falls), else 0.
PathCost
Get the total calculated cost of the current path. Returns 0 if no path is active.
PathEndX
The world X of the calculated path's final position: the last waypoint, where the character will actually end up. In Nearest mode this can differ from the requested target (the path stops at the closest reachable spot). Returns 0 if no path has been calculated.
PathEndY
The world Y of the calculated path's final position: the last waypoint, where the character will actually end up. In Nearest mode this can differ from the requested target (the path stops at the closest reachable spot). Returns 0 if no path has been calculated.
PathFailReason
Get the reason the last pathfinding attempt failed. Returns: 'no_start_node', 'no_goal_node', 'max_nodes_reached', 'no_path', or empty string if path succeeded.
PathQueueSize
Get the number of pathfinding requests currently waiting in the queue.
PathStrategy
Get the current path strategy preset (balanced, shortest, safest, simplest, no_drop, walk_only). Note: 'simplest' is the Ground-Hugging strategy and 'no_drop' is No Falling; keys keep their internal names for save compatibility.
PlatformObjectUID
The UID of the instance found by 'Find object on same platform', for the System 'Pick by unique ID' condition. -1 if none was on the platform.
ReachedObjectSide
Which side of the target the character reached: -1 left, 1 right. Valid after 'On side of object reached' fires, 0 otherwise.
RePathCooldown
Get the current re-path cooldown in seconds. This is the minimum time between automatic re-path attempts.
RePathThreshold
Get the current re-path threshold in tiles. This is how far the character can drift before automatic re-pathing triggers.
SeparationCooldown
The separation cooldown in seconds (rest time after giving up on idle separation; 0 = never rest).
SeparationGiveUpTime
How long a character keeps trying to separate before giving up and resting, in seconds.
TargetGridX
The grid X coordinate of the requested path target (after ground correction snaps it to walkable ground).
TargetGridY
The grid Y coordinate of the requested path target (after ground correction snaps it to walkable ground).
TargetX
The world X of the requested path target, as passed to the last Find path action. For where the calculated path actually ends, use PathEndX.
TargetY
The world Y of the requested path target, as passed to the last Find path action. For where the calculated path actually ends, use PathEndY.
WaypointCount
Get the total number of waypoints in the current path. Returns 0 if no path is active.
WaypointGridX
Get the grid X coordinate of a waypoint by index. Returns -1 if index is out of bounds.
WaypointGridY
Get the grid Y coordinate of a waypoint by index. Returns -1 if index is out of bounds.
WaypointX
Get the world X position of a waypoint by index. The waypoint position is centred within the tile. Returns 0 if index is out of bounds.
WaypointY
Get the world Y position of a waypoint by index. The waypoint position is centred within the tile. Returns 0 if index is out of bounds.