Skip to main content

System

The System module provides blocks for interacting with Android system buttons. These blocks allow you to programmatically press the back, home, and recent apps buttons.

Available Blocks​

Press Back Button​

Simulates pressing the device's back button. This is equivalent to calling System:back().

Press Home Button​

Simulates pressing the device's home button. This is equivalent to calling System:home().

Press Recent Apps Button​

Simulates pressing the device's recent apps button. This is equivalent to calling System:recent().

Example Usage​

Here's an example of using system blocks to navigate through apps: