Change Panel Text


#1

Hi ,

How can i change panel text from Blockly? In my scenario, teacher asks question. when student knows the correct answer, panel text change . And the other question appear.

Coded blockly .

Many thanks,

İdiye


#2

Hi,

you can set up multiple info panels in Blockly and display the correct one dependent on a certain condition.

In this example I display an info panel when clicking on the teacher and when you click on her the second time another one will be displayed. This is based on the value of the clicked variable which is incrementing when clicking on the teacher.

Maybe you can do something similar.


#3

Hello Idiye_Okten,

unfortunately at the moment we don’t have any function to change panel’s text from Blockly. We will support it in next versions.

Similar to previous example you can use multiple text billboards of the same size. In the sample below I created two panels and hid one of them by sinking below ground. By clicking a panel it is swapped with another one.


#4

Thanks :slight_smile:

Many thanks and regards

İdiye


#5

So good :slight_smile:

Many thanks for information.

Regards

İdiye