Marker::scale: Difference between revisions
CocaColaBear (talk | contribs) (Created page with "{{Incomplete Functions}}") |
MrPancakers (talk | contribs) (Creates the page from incomplete) |
||
| Line 1: | Line 1: | ||
{{ | {{ClientSide}} | ||
Sets the scale of the selected marker | |||
== Syntax == | |||
<syntaxhighlight lang="javascript"> | |||
marker.scale = number; | |||
</syntaxhighlight> | |||
=== Attribute Types === | |||
* '''number''': {{RageType|number}} | |||
== Examples == | |||
Changes the scale of the marker from 3.0 to 10 | |||
<syntaxhighlight lang="javascript"> | |||
let testMarker = mp.markers.new(1, new mp.Vector3(-431.88, 1146.86, 325), 2.0, { | |||
scale: 3.0 | |||
}); | |||
testMarker.scale = 10; | |||
</syntaxhighlight> | |||
Latest revision as of 10:27, 14 May 2018
Client-Side
Sets the scale of the selected marker
Syntax
marker.scale = number;
Attribute Types
- number: number
Examples
Changes the scale of the marker from 3.0 to 10
let testMarker = mp.markers.new(1, new mp.Vector3(-431.88, 1146.86, 325), 2.0, {
scale: 3.0
});
testMarker.scale = 10;