how can i trigger a button?

how can i trigger a button for print message in verse ?

Can you please clarify what you are wanting to do? Are you trying to print a message when a button is pressed?

yes

I would like the answer to this as well :slight_smile:

As part of our documentation there is a page which describes how to respond to a button event here Coding Device Interactions

but how do you assign Button and object that will spawn to the instance ?
it feels that part is missing
image

In Coding Device Interactions it walks through an example of handling this interaction in a Verse script. To print a message to the screen you would add a popup_dialog_device to your scene and script and then call my_popup_dialog.Show() in the OnButtonInteractedWith function used in the provided example.

For you follow-up question, once you add a button device to your world, it will show up in the Button dropdown so you can select it.

ah okay it worked ,needed device button for it to work :+1: