Compartilhar via


Icon

Reference to an icon.

Properties

type - string. "icon"

value - string. The name of the icon to be referenced.

label - string, optional. Must be one of "action" or "none". This controls whether or not a small label is added that displays what gamepad action the control maps to. Using a value of "none" will hide this element. Defaults to "action"

opacity - number, optional. The opacity to be applied to the icon. Defaults to 1.0.

Icon Values

Value Icon Minimum Layout Version
placeholder placeholder 1.0
ability ability 1.0
ability2 ability2 1.0
ability3 ability3 3.5
abilityPowerPunch abilityPowerPunch 3.5
abilityPowerUp abilityPowerUp 3.5
accept accept 3.5
add add 1.0
aim aim 1.0
armor armor 1.0
arrow arrow 1.2
arrowReload arrowReload 1.2
attackBehind attackBehind 3.2
barrel barrel 3.5
block block 1.0
bomb bomb 1.0
book book 3.5
bow bow 1.2
brakePedal brakePedal 1.0
brightness brightness 1.0
capture capture 1.0
character character 1.0
characterSelect characterSelect 1.0
characterSelect2 characterSelect2 1.0
chat chat 1.0
climbStairs climbStairs 1.0
close close 1.0
compass compass 3.5
cover cover 1.0
crouch crouch 1.0
cursor cursor 3.5
dash dash 1.0
defendByShield defendByShield 3.5
dodge dodge 1.0
downArrow downArrow 1.0
downArrow2 downArrow2 1.0
downChevron downChevron 1.0
dPad dPad 1.0
emotes emotes 1.0
enterCar enterCar 1.0
enterDoor enterDoor 1.0
exit exit 1.0
exitCar exitCar 1.0
exitDoor exitDoor 1.0
fastForward fastForward 3.5
fire fire 1.0
firePunch firePunch 3.2
flag flag 1.0
gasPedal gasPedal 1.0
glide glide 3.5
golf golf 3.2
grab grab 3.5
grenade grenade 1.0
gyroscope gyroscope 3.5
handbrake handbrake 1.0
handbrake2 handbrake2 1.0
health health 3.5
heavyKick heavyKick 1.0
heavyKick2 heavyKick2 1.0
heavyKick3 heavyKick3 1.0
heavyKick4 heavyKick4 1.0
heavyPunch heavyPunch 1.0
heavyPunch2 heavyPunch2 1.0
heavyPunch3 heavyPunch3 1.0
heavySword heavySword 1.0
heavySword2 heavySword2 1.0
help help 3.5
horn horn 1.0
hourglass hourglass 1.0
interact interact 1.0
internet internet 1.0
inventory inventory 1.0
jump jump 1.0
kick kick 3.2
largeGridView largeGridView 1.0
leftArrow leftArrow 1.0
leftArrow2 leftArrow2 1.0
leftChevron leftChevron 1.0
leftRightArrows leftRightArrows 1.0
lightKick lightKick 1.0
lightKick2 lightKick2 1.0
lightKick3 lightKick3 1.0
lightKick4 lightKick4 1.0
lightPunch lightPunch 1.0
lightPunch2 lightPunch2 1.0
lightPunch3 lightPunch3 1.0
lightSword lightSword 1.0
lightSword2 lightSword2 1.0
look look 1.0
lookBehind lookBehind 1.0
lookBehind2 lookBehind2 1.0
lookByHand lookByHand 3.5
map map 1.0
map2 map2 1.0
medical medical 1.0
meditate meditate 3.5
mediumKick mediumKick 1.0
mediumKick2 mediumKick2 1.0
mediumKick3 mediumKick3 1.0
mediumKick4 mediumKick4 1.0
mediumPunch mediumPunch 1.0
mediumPunch2 mediumPunch2 1.0
mediumPunch3 mediumPunch3 1.0
mediumSword mediumSword 1.0
mediumSword2 mediumSword2 1.0
microphone microphone 3.5
mirror mirror 3.5
moreActions moreActions 3.5
move move 1.0
move2 move2 1.0
notebook notebook 3.5
parameters parameters 1.0
pause pause 3.5
phone phone 1.0
pickAxe pickAxe 3.2
plane plane 3.5
planeFast planeFast 3.5
planeSlow planeSlow 3.5
punch punch 1.0
punch2 punch2 3.5
radialMenu radialMenu 3.2
radialMenu2 radialMenu2 3.5
radio radio 1.0
ram ram 1.0
redo redo 3.5
reload reload 1.0
repeatRefresh repeatRefresh 1.0
reset reset 3.5
rewind rewind 1.0
rightArrow rightArrow 1.0
rightArrow2 rightArrow2 1.0
rightChevron rightChevron 1.0
roll roll 3.2
run run 1.0
select select 1.0
selectAll selectAll 1.0
selectionWheel selectionWheel 3.5
sit sit 3.5
skateboard skateboard 3.5
skateboardGrab skateboardGrab 3.5
skateboardGrind skateboardGrind 3.5
skateboardJump skateboardJump 3.5
skateboardOllie skateboardOllie 3.5
skateboardRampOver skateboardRampOver 3.5
slide slide 1.0
smallGridView smallGridView 1.0
speaker speaker 3.5
specialAbility specialAbility 1.0
sprint sprint 1.0
stealth stealth 1.0
steering steering 1.0
stopwatch stopwatch 1.0
subtract subtract 1.0
surf surf 3.5
switchCamera switchCamera 1.0
sword sword 1.0
sword2 sword2 1.0
sync sync 1.0
targetLock targetLock 3.2
team team 3.5
teamAttack teamAttack 3.5
throw throw 3.5
titleMenu titleMenu 1.0
touch touch 1.0
undo undo 3.5
upArrow upArrow 1.0
upArrow2 upArrow2 1.0
upChevron upChevron 1.0
walk walk 1.0
waypoint waypoint 1.0
weaponSelect weaponSelect 1.0
zoomIn zoomIn 1.0
zoomOut zoomOut 1.0

Remarks

Icons provide a way to provide semantic meaning to the interaction that the player will be having that is consistent across many games that use touch controls.

Sample

{
    "type": "icon",
    "value": "jump"
}

Button
Arcade Buttons
Directional Pad
Joystick
Throttle
Touchpad

See also

Touch Adaptation Kit Reference