Skip to content

setVisibility()

Set how visible the object is.

Parameters

Once an object item has been created, you can use the following function:

item.setVisibility(visibility)
Parameter Type Default Description
visibility int required How visible to make the object, from 0 (invisible) to 100 (fully visible). Values outside this range are clamped.