ursina
ursina copied to clipboard
Window position isn't saved when moved
Code: `from ursina import *
app = Ursina(borderless = False)
def input(key): window.size = window.size #this is just to update the window
app.run()`
Run it, move the window and press a key, the window will move back to the starting position.
I couldn't find an event for that so i thought of solving it by checking if the current position is diffrent then the position in the frame before but it seems very inefficent to me.
I guess, 'window.size = window.size' are probably two different variables. one is the default value and the other the current variable.
tried explaining it a bit better