Blip::alpha: Difference between revisions
(Created page with "{{Incomplete Functions}}") |
|||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | This function is used to change the blip alpha. | ||
==Syntax== | |||
<syntaxhighlight lang="typescript"> | |||
blip.alpha = 255; | |||
</syntaxhighlight> | |||
==Example== | |||
This will change a blip to be transparent. | |||
{{ServerSide}} | |||
<syntaxhighlight lang="javascript"> | |||
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0)); | |||
createdBlip.alpha = 0; | |||
</syntaxhighlight> | |||
==See Also== | |||
{{Blip_definition}} | |||
Latest revision as of 13:29, 16 January 2018
This function is used to change the blip alpha.
Syntax
blip.alpha = 255;
Example
This will change a blip to be transparent.
Server-Side
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0));
createdBlip.alpha = 0;
See Also
- Functions
- Properties