grab()
Grab a stated rectangle area and copy it into given image slot.
Syntax:
grab(
slot
,
x
,
y
,
w
,
h
)
slot is the slot number where grabbed image will be stored
x is the source rectangle upper-left X coordinate
y is the source rectangle upper-left Y coordinate
w is the source rectangle area width
h is the source rectangle area height
Example:
See also blt() command.