removeAllSprites , method of controller

Remove all sprites from the controller.

Parameters:
name type description
layer int layer of the world (must be >= 0)
UB.controller(playerID).removeAllSprites(0);

See all methods of the api.