Patches

Screen

Screen

A group component with realistic iOS-style push and modal transitions. Add any layer inside the screen.

Use the Touch button on the component to get information about the screen's presentation status.

Screen

  • Enable
  • Present
  • Dismiss
  • Transition
  • Start State
  • Edge Swipe
  • X Offset
  • Progress
  • Presented
  • X Offset

Enable

A boolean that is true when the screen is displayed.

Present

A pulse that presents the screen by animating it in.

Dismiss

A pulse that dismisses the screen by animating it out.

Transition

The animation style: Push or Modal.

Start State

The starting position: Dismissed or Presented.

Edge Swipe

A boolean that is true when edge-swiping is enabled.

X Offset

A number that represents the horizontal offset of the screen.

Progress

A progress value that represents presentation (0 for dismissed, 1 for presented). Used to synchronize other animations.

Presented

A boolean that is true when the screen is presented.

X Offset

The X position for sliding the prior screen left in a Push transition. Connect to the X Offset of the prior screen.