===== Spritemove (Statement) ===== ==== Format ==== **spritemove** //sprite_number//, [[numericexpressions|x_position]], [[numericexpressions|y_position]]\\ **spritemove** ( //sprite_number//, [[numericexpressions|x_position]], [[numericexpressions|y_position]] )\\ **spritemove** //sprite_number//, [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[floatexpressions|scale_expression]]\\ **spritemove** ( //sprite_number//, [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[floatexpressions|scale_expression]] )\\ **spritemove** //sprite_number//, [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[floatexpressions|scale_expression]], [[floatexpressions|rotate_expression]]\\ **spritemove** ( //sprite_number//, [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[floatexpressions|scale_expression]], [[floatexpressions|rotate_expression]] ) ==== 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 //rrotate_expr// and [[floatexpressions|scale_expression]] parameters. The degree [[floatexpressions|rotate_expression]] is measured in radians. Rotation and scaling are relative to the previous state of the sprite. ==== See Also ==== {{page>en:start#Graphics - sprites&noheader}} ==== History ==== |0.9.6n|New To Version| |0.9.9.15|Rotate and scale added|