Click or drag to resize
OrganismStateGridX Property

Retrieves the creature's current grid location. This is useful for movement algorithms and is used by the engine for computing organism location in a fast and memory efficient manner.

Namespace: Terrarium.Sdk.Classes.State
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public int GridX { get; }

Return Value

Type: Int32
System.Int32 representing the Terrarium grid cell for the center of the organism.
See Also