Player::alpha: Difference between revisions
CocaColaBear (talk | contribs) (Created page with "This property using for setting or getting player alpha. == Example == <syntaxhighlight lang="javascript"> let alpha = player.alpha; player.alpha = 0; // make a player transpa...") |
CocaColaBear (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
let alpha = player.alpha; | let alpha = player.alpha; | ||
player.alpha = 0; // make | player.alpha = 0; // make the player transparent | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 13:17, 16 April 2017
This property using for setting or getting player alpha.
Example
let alpha = player.alpha;
player.alpha = 0; // make the player transparent