Send & Receive Messages
Components are isolated from each other and scenes, meaning triggers and responses within a component cannot be assigned to layers and variables outside of it. The same applies to triggers and responses in a scene or nested component, which cannot be assigned to layers and variables within a component.
To overcome this limitation, you can utilize the Send response and Receive trigger. Within the component, you can send a message using the Send response, and it can be received by a Receive trigger located outside of this specific component (in a scene, parent component, or child component). This communication can also work in reverse.
Of course, it is also possible to send and receive messages exclusively within the component itself.
Send Responses
Send to Parent
This channel allows you to send a message from the component to a parent component or scene when there's no parent component.
Send to Child Component
This channel allows you to send a message from the component to a child component.
Send to Current Scene
This channel allows you to send a message from the component to the scene where the component is used.
Send to Current Component
This channel allows you to send a message that remains within the component.
Receive Triggers
Receive from Parent
This channel allows you to receive messages from a parent component or scene when there's no parent component.
Receive from Child Component
This channel allows you to receive messages from a child component.
Receive from Current Scene
This channel allows you to receive a message from the scene where the component is used.
Receive from Current Component
This channel allows you to receive a message that remains within the component.
Looking to explore this feature deeper?
We recommend you joining the Digital Dashboard Masterclass. This masterclass offers an in-depth exploration of the Send & Receive feature and provides you with the knowledge and skills to use it effectively.
Moreover, learn how to simplify the development of complex projects, such as games, with our recently launched Mobile Game prototyping masterclass.
Don't miss out on this opportunity to understand how ProtoPie’s user-friendly approach and systematic development process make your projects becomes more manageable.