sprite .frame .set  (  ObjectID ,  Frame  )  
                                
Description :

This instruction sets the frame for a paused sprite. The sprite will thus pause on the chosen frame whenever it is called with the instruction "Sprite.Pause ()".

Parameters :

  • ObjectID of sprite.
  • Frame of the sprite, valid in the range [1, number of frames].

Examples :