Table of Contents

Sprite:getClip

Available since version: in development

Description:

Returns the coordinates of the Sprite clip range if set with setClip

Syntax:

(number), (number), (number), (number) = Sprite:getClip()

Return value:

  • number: x-coordinate of clip origin
  • number: y-coordinate of clip origin
  • number: width of clip region
  • number: Height of clip region