# BASIC 256 - Language Documentation

en:spritemove

## Spritemove

### Format

spritemove spritenumber, dx, dy
spritemove ( spritenumber, dx, dy )
spritemove spritenumber, x, y, s
spritemove ( spritenumber, x, y, s )
spritemove spritenumber, x, y, s, r
spritemove ( spritenumber, x, y, s, r )

### Description

Move a sprite from its current position by the specified number of pixels. Motion will be limited to the current screen. Optionally the sprite may be rotated or scaled by defining optional the r and s parameters. The degree r is measured in radians. Rotation and scaling are relative to the previous state of the sprite.

### See Also

Spritecollide, Spritedim, Spriteh, Spritehide, Spriteload, Spriteplace, Spriteshow, Spriteslice, Spritev, Spritew, Spritex, Spritey

### New To Version

0.9.6n
Rotate and scale new to 0.9.9.15

en/spritemove.txt · Last modified: 2012/11/03 21:23 by admin