Using Director > Navigation and User Interaction > Making sprites editable or moveable with Lingo |  |

Making sprites editable or moveable with Lingo

Lingo can make sprites editable or moveable regardless of the settings in the Score. You can also use Lingo to constrain a moveable sprite to a certain region. For example, you can create a draggable slider with an indicator that moves across a gauge. .

| To make a text sprite editable with Lingo, set the text sprite's `editable` property to `TRUE`. For best results, set this property in a script attached to the sprite or the frame where the sprite is located. See `editable`.
| To make a sprite moveable with Lingo, set the `moveableSprite` sprite property to `TRUE`. For best results, set this property in a script attached to the sprite or the frame where the sprite is located. See `moveableSprite`.
| To restrict the registration point of a moveable sprite so it stays within the bounding rectangle of a second sprite, use the `constraint` sprite property. See `constraint`.
| To constrain a sprite along a horizontal or vertical path, use the `constrainH()` or `constrainV()` function. See `constrainH()` or `constrainV()`.