Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.

navigatePage()

Mammad900 edited this page Aug 29, 2020 · 1 revision

navigatePage( page )

Summary

Navigate from one page to another (changes the currently shown page)

Parameters

  1. Page (int) : The number of the target page to navigate to

Returns

Nothing

Example

if(button_pressed[PAGE_SETTINGS][BUTTON_BACK]){
    navigatePage(PAGE_HOME);
}

Output

When you click 'back' button in the settings page, it will go to the main page.

Clone this wiki locally