Color
get color(): YColor;
set color(value: YColor);
Availability
Server
Description
Allows to get / set color of the target Trigger Zone.
Notes
- Get Color will return a Color literal. If written to console or log, the output will be in the format "[1, 1, 1, 1]". These represent [Red, Green, Blue, Alpha] and each number can be between 0 (least intensity) and 1 (most intensity). In this case, Alpha represents the transparency of the zone.
- Set Color will overwrite the current zone color and set the new zone color to the color literal or the Custom Color. A Get Color Tile can also be used.
Ylands - Editor
|
Editor
|
Animated objects,
Custom UI,
Entity welding,
Game export,
Game ID,
Monetization,
MIDI music,
Optimizations,
Common Problems,
FAQ
|
Script
|
Introduction,
Conventions,
Client script,
Text scripting,
Custom controls,
Custom controller,
Storage Data,
Game set,
Leaderboards,
Matchmaking,
Map markers
|
Game logic
|
AI Behaviour,
Ask Player,
Controller,
Custom Camera,
Custom Controls,
Custom HUD,
Custom Window,
Data Set,
Dialogue,
Entity Label,
Entity Storage,
Entity Template,
Environment,
Event Listener,
Game Logic Label,
Game Logic Storage,
Game Logic Template,
Global Storage,
Group Template,
Image Library,
Impassable Barrier,
Light,
Melee Attack Effect,
Particle Effect,
Particle Template,
Path,
Play Area,
Player Role,
Player Team,
Position Animator,
Post Process,
Reference Point,
Resource,
Rotation Animator,
Script Module,
Skill,
Sound Effect,
Spawn Point,
Time Trigger,
Transaction,
Trigger Zone,
Voice Chat Channel,
Water Volume
|
Script tiles
|
Game,
Entities,
Game Logic,
Logic,
Loops,
Instructions,
Number,
Vector,
Color,
String,
Array
|
Misc
|
WIKI FAQ
|