# not_at_rot_target

*LSL event*

```lsl
not_at_rot_target()
```

Triggered continuously while the object's rotation is outside the leeway angle of targets set via llRotTarget.

Result of [llRotTarget](/functions/llRotTarget/) library function call

```lsl title="How to use" frame="terminal"
not_at_rot_target()
{

}
```

## Examples

For an example, see [llRotTarget](/functions/llRotTarget/)

## See also

### Functions

- [llTarget](/functions/llTarget/) — Setup a target position
- [llTargetRemove](/functions/llTargetRemove/) — Stop a target position
- [llRotTarget](/functions/llRotTarget/) — Setup a target rotation
- [llRotTargetRemove](/functions/llRotTargetRemove/) — Stop a target rotation

### Events

- [at_target](/events/at_target/)
- [not_at_target](/events/not_at_target/)
- [at_rot_target](/events/at_rot_target/)

---

*Source: [Not at rot target](https://wiki.secondlife.com/wiki/Not_at_rot_target) on the Second Life Wiki. Content from the Second Life Wiki article Not at rot target (revision 1186039, 2013-12-31), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/events/not_at_rot_target/
