ClipSprite()

Syntax

Result = ClipSprite(#Sprite, x, y, Width, Height)

Description

Add a clip zone to the specified sprite. For example, if a sprite is 100*100 (Width*Height) and a clipping zone is added as x=10, y=10, Width=20, Height=20 then when the sprite is displayed, only the rectangular area starting from x=10, y=10 with width=20 and height=20 will be displayed.

Supported OS

Windows, AmigaOS, Linux

Sprite - Index