h6. [[OS SWI Calls]] h6(. » [[OS_SpriteOp]] h6((. » OS_SpriteOp 30 - Remove mask h2. OS_SpriteOp 30 - Remove mask h5. (SWI &2E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 30 (Reason code) + [[OS_SpriteOp|Area value]]| |<^. R1 |<^. Unused/[[Format Of Sprite Area|Sprite area]] (as defined by area value in R0) | |<^. R2 |<^. Sprite name/[[Format Of Sprite|pointer]] (as defined by area value in R0) | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use This call allows a mask to be removed from a sprite. h4. Notes When used on a sprite with an alpha mask, the 'wide mask' flag will remain set in the [[Sprite Mode Word|sprite mode word]]. Therefore any subsequent call to [[OS_SpriteOp 29]] will create a new alpha mask. If this is not intended then you must manually remove the flag *after* removing the mask. If the sprite has no mask, this call has no effect. See also [[OS_SpriteOp 38]], which can be used to convert between different mask formats, or to transfer data to/from an alpha channel. h4. See also * [[Format Of Sprite]] * [[Format Of Sprite Area]] * [[OS_SpriteOp]] * [[OS_SpriteOp 29|OS_SpriteOp 29 - Create mask]] * [[OS_SpriteOp 38|OS_SpriteOp 38 - Create/remove alpha]]