Livecode Wiki
Advertisement

Specifies the visible area of a control.

set the layerClipRect of image "myImage" to 0,0,50,50

Use the layerClipRect property to clip an object's display to a rectangle. The clipping rectangle only changes what part of the object is rendered, it has no effect on interaction; in particular, mouse events will still occur as they would without it being set.

Advertisement