📐
Thunkable Docs
Build an AppDrag and Drop DocsSnap to Place Docs
Snap to Place
Snap to Place
  • 👋Welcome to Thunkable Docs
  • 👶Getting Started
    • Signing In
    • Your Thunkable Projects Page
    • Tutorials
    • Live Test your App
  • 🆕Create New Project
    • Project Settings
    • Project Assets and Sizes
  • Thunkable Sample Projects
  • Public Gallery of Projects
  • 🛠️ Components
  • 🔘User Interface
  • Button
  • Label
  • Text Input
  • List Viewer
  • Web Viewer
  • Switch
  • Slider
  • Alert
  • Loading Icon
  • Date Input
  • Time Input
  • PDF Reader
  • Rating
  • 📊Data Viewers
  • Data Viewer List
  • Data Viewer Grid
  • Custom Data Viewer Layout
  • Data Sources
  • 📐Layout
  • Top Tab Navigator
  • Bottom Tab Navigator
  • Stack Navigator
  • Drawer Navigator
  • Screen
  • Row
  • Column
  • 📷 Image
  • Image
  • Photo Library
  • Camera
  • Barcode Scanner
  • Image Recognizer
  • Animation by Lottie
  • Video
  • Video Recorder
  • 🗄️ Data
  • Local Storage
  • Local DB
  • Realtime DB by Firebase
  • Airtable
  • Media DB by Cloudinary
  • File Picker
  • Web API
  • 🌍Location
  • Maps by Google and Apple
  • Location Sensor
  • 💲Monetization
  • Ads by AdMob
  • In-App Purchase
  • 🌐Sensors
  • Gyroscope
  • Magnetometer
  • Accelerometer
  • Timer
  • Bluetooth Low Energy
  • 🔊Voice
  • Sound
  • Text to Speech
  • Speech Recognizer
  • Translator
  • Audio Recorder
  • 🤝Social
  • Share
  • Email Sign In by Firebase
  • Push Notifications by One Signal
  • 🎮Gaming
  • Canvas
  • Sprites
  • Sprite Gallery
  • Canvas Label
  • 🤖Gaming Blocks🎮
  • Events
  • Motion
  • Looks
  • Direction
  • Sensing
  • Add & Remove
  • Stage
  • Canvas Label
  • 🤖Blocks
  • Control
  • Logic
  • Math
  • Text
  • Lists
  • Color
  • Objects
  • Device
  • Variables
  • Functions
  • "Any Component" Blocks
  • 🖥️ App Services & Emulators
  • 🔒App Data Privacy
  • ➕Make Copy
  • 📥Download
  • 📤Share
  • 📱Publish
  • Publish to App Store (iOS)
    • TestFlight Overview
      • TestFlight in Depth
  • Publish to Play Store (Android) with AAB
  • Publish as a Web App
  • Generate Screenshots
  • 🔎Troubleshooting
    • Login Issues
    • FAQs
  • 📏Intro to Spacing
  • 🖼️ Intro to Sizing
  • 🔤Fonts
  • 💾Managing Storage
  • 📝Bugs and Product Feedback
  • Snap to Place Hour of Code Videos
Powered by GitBook
On this page
  • Current Stage
  • Stage Appearance
  • Set Background Color
  • Get Background Color
  • Set Frame Color
  • Get Frame Color
  • Set Image Number to
  • Stage Gravity
  • Set Y Gravity
  • Get Y Gravity
  • Set X Gravity
  • Get X Gravity
  • Drawing
  • Set Touch Drawing
  • Get Touch Drawing
  • Set Drawing Color
  • Get Drawing Color
  • Set Drawing Width
  • Get Drawing Width

Was this helpful?

Export as PDF

Stage

PreviousAdd & RemoveNextCanvas Label

Last updated 2 years ago

Was this helpful?

Current Stage

Select which Stage to display in the Canvas.

Stage Appearance

Set Background Color

Sets the background color of the specified Stage.

Get Background Color

Returns the hexadecimal value of the background color for the specified Stage.

Set Frame Color

Sets the color of the Frame for the specified Stage.

Get Frame Color

Returns the hexadecimal value of the Frame Color for the specified Stage.

Set Image Number to

Set the background image of the stage to the specified item in the list.

Stage Gravity

Set Y Gravity

Sets the Stage gravity in the vertical direction.

Get Y Gravity

Returns the value of the Stage gravity, in the vertical direction.

Set X Gravity

Sets the Stage gravity in the horizontal direction.

Get X Gravity

Returns the value of the Stage Gravity, in the horizontal direction.

Drawing

Set Touch Drawing

Enable drawing on the stage if set to true.

Disable drawing on the stage if set to false.

Get Touch Drawing

Return true or false, depending on whether or not drawing is enabled on the Stage.

Set Drawing Color

Set the Drawing Color, or Line Color, for the stage.

Get Drawing Color

Returns the hexadecimal value of the Drawing Color for the specified Stage.

Set Drawing Width

Set the Drawing Width, or Line Width, for the stage.

Get Drawing Width

Returns the numeric value for line width on the Stage.

Please refer to the to see some animated examples of the gravity properties.

Canvas docs