Codesters FAQ is the official FAQ site for codesters.com. We will continue to update this blog with the most common questions we receive form teachers using Codesters.

Updating Variable Display

If the value of the variable is changed after it is displayed, the display needs to be updated using the Update Display Block

Data Update Display
my_var = 25
my_display = codesters.Display(my_var, -200, 150)

stage.wait(1) 

my_var= my_var + 2
my_display.update(my_var)
updatevar.png