## C.69. `$world->movetrigger`

Abstract

$world->movetrigger function: MOVEs a TRIGGER to another position

`void $world->movetrigger(` | `name` ,
| `new_pos` `)`;

`void $world->movetrigger(` | `number` ,
| `new_pos` `)`;

Moves the trigger with the given name or number so that it occupies the position `new_pos` after execution of this function. Other triggers might be moved up or down in result of this. If `new_pos` is negative or greater than the number of triggers, the trigger is moved to the last position.

If there are several triggers with the given name, only the first one found is moved.