Sprite:setDimensions

This page contains changes which are not marked for translation.

Available since: Gideros 2020.7
Class: Sprite

Description

Sets both width and height of the Sprite.

Sprite:setDimensions(w,h)

Parameters

w: (number) the Sprite new width
h: (number) the Sprite new height