Index | Collapse All Expand All

SetOpacity Method
Control Class Members See Also

Beta Documentation - Subject to change.
Sets the opacity of the window.

# Syntax

Lua
    function Control:SetOpacity(value);

#### Parameters

value
  Type: number

# Remarks

This Sets the current opacity of the window which determines its level of transparency when being displayed. Valids values are from 0.0 to 1.0 with 0.0 being fully transparent and 1.0 being fully opaque.Opacity is a special property that is only valid for certain controls. Specifically, Windows will make use of opacity to determine how they are blended with the game.

# See Also

- Control
- Turbine.UI