This page contains changes which are not marked for translation.

Available since: Gideros 2020.7
Class: Sprite


Returns the width and the height of the Sprite in pixels. The dimensions are calculated based on the bounds of the content of the Sprite.

(number), (number) = Sprite:getDimensions()

Return values

Returns (number) the Sprite width
Returns (number) the Sprite height