Home
Marketplace
Blog
Discord
Search…
About
What's New?
FAQ
Site Status
Getting Started
Hello World
Variables
Modules
Script Flow
Triggers
Looping / Iteration
Conditionals
Functions
Code Editors
File System
Sharing
Debugging
Feedback and Bug Reporting
Power Users
Test Mode
Library
Triggers
Logic
Assert
Cast
Conditionals
Create Variable
File Actions
Functions
Function Call
Function Definition
Return
List Actions
Loops
Print To Log
Sleep
Text Actions
Variable Has Changed
Variable Storage
Modules
APIs
Python
JavaScript
CLI (alpha release)
Account Management
Updating Your Name, Email, and Username
Changing Your Password
Managing Your Plan
Managing Your API Key
Managing Your Linked Accounts
Phone Number Verification
Two-Factor Authentication
Team Management
Other Information
IP Addresses
Security
Powered By
GitBook
Return
Return values from the current function.
​
Return from the Current Function
Use the Return module inside a function to finish running the current function and return values to the location that called the function.
The Return module will populate the settings panel with a field for each output that was set up for the current function.
​
🌟
Example
​
Define a function
with two outputs, called "Output one" and "Output two."
Now, create two variables, called "foo" and "bar."
Use the Return module to return the values of "foo" and "bar" from the function, using "Output one" and "Output two."
Previous
Function Definition
Next
List Actions
Last modified
1yr ago
Export as PDF
Copy link
Contents
Return from the Current Function
Example