Replies: 1 comment 2 replies
-
|
Can you share what issue this is from? It will help provide context |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking into implementing an indication (beeps or speech) for when an object that is in sleep mode gains focus from another object (this idea was found from a posted issue), and I am curious to know if there is a good way to detect a change in focus between objects. Along with this, is there any way to play a sound while focused on an object currently in sleep mode besides the script attribute "allowInSleepMode" as I want to implement this without a new gesture command if possible.
Currently my idea is to write a global plugin with a "event_gainFocus" function that checks for an object's sleep status, then produces a beep when that object regains focus, but I am lost as to how to read that focus change. Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions