## C.65. `$world->movealias`

Abstract

$world->movealias function: MOVEs an ALIAS to another position

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

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

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

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