← BACK

Button elements are essentially special kinds of tap gestures with predefined functionality. Each Button element that you drag to the canvas is added as a layer for the selected scene. For details on how to add Button elements, see Add Buttons and URLs

 If you select a Button element in the Layers panel or its bounding box on the canvas, the following properties appear in addition to its Element Placement and Fill Properties.

Element

Property

Description

Go to Scene Button

Go to Scene

Select the scene to transition to after the user taps the button, for example, to allow the user choose a different character in the demo or go back to a home scene.

App Store Button

Apple App Store ID

Enter the App Store ID of the app, which is the numeric part in the App Store URL between “id” and “?”

For example, 1234567890 is the ID in this URL: https://apps.apple.com/app/id1234567890?mt=8

Google Play Application ID

Enter the Google Play Application ID of the app, which is the part of the Google Play URL between “id=” and “&”

For example, com.example.yourapp is the ID in this URL: https://play.google.com/store/apps/details?id=com.example.yourapp&hl=en_US

Replay Button

Go to Scene

Select the scene to transition to after the user taps the button to replay the experience. 

Note: This button is very similar to the Go to Scene Button, except it tracks how many times the user replayed the experience.

If you want to actively track the number of replays, for example, to set a limit, use a gesture with conditional logic instead. See also Counters.

Open URL Button

URL

Enter the URL for the user to go to after tapping this button in the demo.

Android Share Button

Message

Note: This button works only on Android devices for Google Play Instant Apps that are published in Google Play Store.

Enter default text or email message that will be sent when the user taps the button to share a link to the demo in Google Play Store.

Make sure to update the following:

  • The name of your app demo.
  • Its Google Play Application ID. If needed, see the instructions above.
Updated June 24, 2019
Tags: