The '''Type Spatial Variable Driver''' component is part of the [[Spatial variables]] system. It will drive a field with value sampled at the current global position of the slot it's on. The value used is one with highest priority
|DefaultType|{{RootFieldType|SyncType}}|TypeAdv2=true| The value to default to if no variable is found from sampling at the point of the slot this component is on.
}}
}}
== Usage ==
== Usage ==
Attach to a slot and provide a field to drive and a variable name. the slot this component is on acts as the position for sampling variable values.
Type Spatial Variable Driver component as seen in the Scene Inspector
The Type Spatial Variable Driver component is part of the Spatial variables system. It will drive a field with value sampled at the current global position of the slot it's on. The value used is one with highest priority