detecting modifier keys on startup

I’m just starting to play around with Studio, and reading through the documentation. I havn’t found it yet, but does anyone know if there is a way to detect a modifier key (option for example) on launch?.

Thanks