Checkpoint::radius: Difference between revisions
(Created page with "This property is used to set or get the radius of the checkpoint. ==Getter== * '''<span style="color:#008017">Float</span>''' ==Setter== * '''<span style="color:#008017">Floa...") |
m (Replaced HTML with template) |
||
| Line 7: | Line 7: | ||
== Example == | == Example == | ||
{{ServersideCode| | |||
<pre> | |||
< | |||
const radius = checkpoint.radius; // get checkpoint radius | const radius = checkpoint.radius; // get checkpoint radius | ||
console.log(radius); | console.log(radius); | ||
checkpoint.radius = 5; // set checkpoint radius | checkpoint.radius = 5; // set checkpoint radius | ||
</ | </pre> | ||
}} | |||
==See Also== | ==See Also== | ||
{{Checkpoint_function}} | {{Checkpoint_function}} | ||
Revision as of 12:19, 26 October 2018
This property is used to set or get the radius of the checkpoint.
Getter
- Float
Setter
- Float
Example
Server-Side
const radius = checkpoint.radius; // get checkpoint radius console.log(radius); checkpoint.radius = 5; // set checkpoint radius