{{tag>dragonscript behavior gameworld}}
[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[dragengine:modules:dragonscript:abstractions|Abstraction Layers: How you want to build your Game]] >> [[dragengine:modules:dragonscript:behavior_elements|Behavior Elements]] >> **GWBehaviorAnchoredElements**
====== GWBehaviorAnchoredElements ======
Game world behavior adding support for anchoring elements. Mainly used by [[behavior_anchorelement|ECBehaviorAnchorElement]] and [[behavior_attachable_anchorelement|ECABehaviorAnchorElement]] but elements can be manually anchored and unanchored.
This behavior is added by default to #@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1DefaultGWBehavior.html,DefaultGWBehavior~@#.
====== Instance Counts ======
This behavior can be present only once in a game world.
====== Game World Properties ======
This behavior has no game world properties.
====== Events ======
This behavior sends no events.
====== Behavior Tree Actions ======
This behavior adds no behavior tree actions.
====== Behavior Tree Conditions ======
This behavior adds no behavior tree conditions.
====== State Machine Actions ======
This behavior adds no state machine actions.
====== State Machine Conditions ======
This behavior adds no state machine conditions.
====== State Machine Events ======
This behavior sends no state machine events.
====== Required Behaviors ======
This behavior requires no other behaviors.
====== Optional Behaviors ======
This behavior has no optional behaviors.
====== API Documentation ======
#@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1GWBehaviorAnchoredElements.html,GWBehaviorAnchoredElements~@#.
Since DragonScript Module Version ''1.17''
====== Use Cases ======
* Anchor elements to reference them in conversation scripts or other behaviors without needing to search all elements.