Skip to content
Version 2.11.0
↓ Get the launcher

IEntityTransforms interface

Toolkit service that reads the live world transform (position + facing) of an arbitrary game entity by id. Backed by the game’s entity manager; reads MUST happen on the main thread (the framework Update tick). Intended for replay/position capture; returns false when the entity is not resolvable (despawned, not loaded, or off-game), leaving the out-parameters at their defaults.

public interface IEntityTransforms
name description
TryGetTransform(…) Attempts to read the world position and facing of the entity identified by id. Returns false if the entity cannot be resolved this frame (despawned / not loaded / no game); in that case position is Zero and yawDegrees is 0.