RUSTICDOCSSearch documentation

Transforms

Read and change the owning entity's position.

Feature status and language/platform compatibility

Choose an API to see its signature, parameters, examples and behavior.

APIs

Module guide

When to call it

Read before applying relative movement. Write from Update for presentation movement or FixedUpdate for simulation movement. Do not rewrite an unchanged position every frame.

Variables

VariableTypeRequiredDescription
xfinite numberYesLocal X relative to the parent.
yfinite numberYesLocal Y relative to the parent.
zfinite numberYesLocal Z relative to the parent.

Return and timing

Get returns three numbers. Set returns no entity value. Lua applies the host write immediately; JavaScript/Web defer it until callback completion or a subsequent canonical scene-target resolution; external SDKs commit at the response or a synchronous query flush. See execution behavior.

Constraints and behavior

  • NaN and infinity are rejected.
  • Every gameplay language calls the engine-owned API. Rustic supplies SDKs and dispatches callbacks; scripts do not parse requests or serialize responses. See the language guide for complete setup and callback registration.