-
Release button after being pressed in ScriptUI
Hi guys, i need some help, i have a scripUI with some buttons, the thing is that when i click a button my script works fine but if i press any key in my keyboard it doesn’t work, for example, if i have a layer selected and press “P” to open “position” nothing happens, its like the button on the script stayed pressed, and i need to click “somewhere” in the timeline of AE (or anywehre in the workspace of AE) or click on my layers in order to “release” that button of the scripUI, is there any way to release it in the code? I’m using “.onClick” function.