SetObjectSize()

Syntax:

SetObjectSize( Width, Height )

Parameters:

Width – set the width of the.object in pixels Width is an integer.

Height – set the height of the.object in pixels Height is an integer.

Remarks:

This function changes the original width and height of an object. This is different to scaling an object via the SetScale() function.

image\Script_Button.jpgExamples