Difference between revisions of "Drag"

From Castle Wiki
(Created page with "Drag is a behavior that allows you to move an actor around by holding you finger down on the actor")
 
(Fill out drag article)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Drag is a [[behavior]] that allows you to move an actor around by holding you finger down on the actor
'''Drag''' is an interactive [[behavior]] which causes the blueprint's actors to be draggable when touched.
 
You can add Drag by opening the [[Inspector]] for a blueprint, navigating to the '''Movement''' tab, and pressing '''Add physics or controls'''. Make sure the blueprint already has [[Motion|Dynamic motion]].
 
== Using Drag with [[Rule|Rules]] ==
 
* Drag adds [[Trigger|Triggers]] for '''When a drag starts on this''' and '''When a drag stops on this'''.
* Drag can be enabled or disabled during play time using the '''Enable/Disable behavior''' [[Response|Responses]].

Latest revision as of 22:24, 16 May 2022

Drag is an interactive behavior which causes the blueprint's actors to be draggable when touched.

You can add Drag by opening the Inspector for a blueprint, navigating to the Movement tab, and pressing Add physics or controls. Make sure the blueprint already has Dynamic motion.

Using Drag with Rules

  • Drag adds Triggers for When a drag starts on this and When a drag stops on this.
  • Drag can be enabled or disabled during play time using the Enable/Disable behavior Responses.