diff options
Diffstat (limited to 'examples/toggle.aup')
| -rw-r--r-- | examples/toggle.aup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/toggle.aup b/examples/toggle.aup index 39417cc..d5cf5d9 100644 --- a/examples/toggle.aup +++ b/examples/toggle.aup @@ -1,10 +1,10 @@ # Space toggles visibility; Right arrow moves a position that wraps. -state visible = 1 +state visible = true state position = 120 input toggle = key Space input move = key ArrowRight view marker_x = position -view marker_radius = visible * 24 +view marker_radius = if visible { 24 } else { 0 } view tile_x = position - 24 view value = visible |
