h6. [[OS SWI Calls]] h6(. » [[OS_SpriteOp]] h6((. » OS_SpriteOp 14 - Get sprite from cursor h2. OS_SpriteOp 14 - Get sprite from cursor h5. (SWI &2E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 14 (Reason code) + [[OS_SpriteOp|Area value]]| |<^. R1 |<^. Unused/[[Format Of Sprite Area|Sprite area]] (as defined by area value in R0) | |<^. R2 |<^. Sprite name | |<^. R3 |<^. 1 to create palette, 0 to exclude palette | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use This call creates a new sprite with the given name, by copying a rectangle of pixels from the screen. The behaviour of this call is identical to [[OS_SpriteOp 16]], except that the sprite bounds are defined by the graphics cursor coordinates, i.e. as set by the two most recent [[OS_Plot]] 'move' calls. h4. Notes See [[OS_SpriteOp 16]] for more detailed information about this call. h4. See also * [[Format Of Sprite]] * [[Format Of Sprite Area]] * [[OS_SpriteOp]] * [[OS_SpriteOp 16]]