- Documentation
- Shared functions
- getElementAlpha
Function
getElementAlpha
Returns the element's alpha (0 invisible, 255 opaque).
Syntax
int getElementAlpha(element theElement)Arguments
theElementelement- The element.
Returns
Alpha 0-255.
Example
if getElementAlpha(player) < 255 then
outputChatBox("Jesteś niewidzialny.", player)
end