player.(set)favoriteColor documentation
This commit is contained in:
parent
420f1d9731
commit
6e7b046796
@ -302,6 +302,17 @@ Sets the player's mode. **mode** must be either `"casual"`, `"survival"` or `"ha
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
#### `Color` player.favoriteColor()
|
||||||
|
|
||||||
|
Returns the player's favorite color.
|
||||||
|
It is used for the beam shown when wiring, placing, and highlighting with beam-tools (Matter Manipulator).
|
||||||
|
|
||||||
|
#### `void` player.setFavoriteColor(`Color` color)
|
||||||
|
|
||||||
|
Sets the player's favorite color. **color** can have an optional fourth value for transparency.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
#### `Vec2F` player.aimPosition()
|
#### `Vec2F` player.aimPosition()
|
||||||
|
|
||||||
Returns the player's aim position.
|
Returns the player's aim position.
|
||||||
|
Loading…
Reference in New Issue
Block a user