// set window properties
#constant Device_Width GetDeviceWidth()
#constant Device_Height GetDeviceHeight()
do
print("X: "+str(Device_Width))
print("Y: "+str(Device_Height))
if getpointerpressed()=1 then exit
sync()
loop
end
Help make AGK better by submitting an example for this command! (All examples are subject to approval)
// set window properties #constant Device_Width GetDeviceWidth() #constant Device_Height GetDeviceHeight() do print("X: "+str(Device_Width)) print("Y: "+str(Device_Height)) if getpointerpressed()=1 then exit sync() loop end