# How do I display a variable (say elapsed time) in the 3d window?

Beginner here: I know how to display a text string but don't want a fixed value but would like it to display a time varying output from my python script which executes with scripted time.sleep() timers. (I am not using the timeline).

• This is a question only but the attached file contains code to display texts with opengl blender.stackexchange.com/questions/76131/… Mar 23, 2018 at 6:35
• Possibly related (since it creates text objects and positions them in the scene) : blender.stackexchange.com/a/101485/29586 Mar 23, 2018 at 10:38
• Also possibly related Wouldn't recommend using time.sleep in blender, rather use a modal timer operator. There is one in the scripting templates. See this Q / A Or given the application is designed to animate, use the timeline. Mar 24, 2018 at 11:51