Input.GetSize

table Input.GetSize (

string ObjectName )

Example 1

input_size = Input.GetSize("Input1");

Gets the pixel dimensions of the "Input1" input object and stores the width and height values in the "input_size" table. The dimensions can be accessed by referencing input_size.Width and input_size.Height.

See also: Related Actions