Topic was automatically imported from the old Question2Answer platform.
Asked By
Frienduck
For example,I am writing code on Godot engine(Script).
var a : int = 7
var b : int = 3
func run():
print(7 / 3)
The final code process(result) will be show on output screen.(main viewport)
2
I want to know how to send the result of the script to 2D Mainscreen(main viewport).I mean 2D mainscreen that is near 3D,Script,AssetLib on Godot’s Editor Interface.
edit: What my script doing is calculate the result from 7/3 and print the result to the viewport.