sprite .action .set  (  ObjectID ,  Action  )  
                                
Description :

This instruction sets a sprite action.

With this instruction you can replace a current sprite action with another available action.

Parameters :

  • ObjectID of the sprite.
  • Index of the action. Valid in the range [1, number of actions].

Examples :