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 (cate) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
==Getter== | ==Getter== | ||
* | * {{RageType|Number}} in float | ||
==Setter== | ==Setter== | ||
* | * {{RageType|Number}} | ||
== 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> | ||
}} | |||
[[Category:Checkpoint API]] | |||
[[Category:Server-side Property]] | |||
Latest revision as of 16:49, 17 May 2019
This property is used to set or get the radius of the checkpoint.
Getter
- Number in float
Setter
- Number
Example
Server-Side
const radius = checkpoint.radius; // get checkpoint radius console.log(radius); checkpoint.radius = 5; // set checkpoint radius