RawrChad Posted January 12, 2020 Share Posted January 12, 2020 I am trying to implement loseFocus() in my script, it the API it shows for somereason only "hasFocus" works. Any ideas on what I am doing wrong? I do have my imports. Quote Link to comment Share on other sites More sharing options...
Medusa Posted January 12, 2020 Share Posted January 12, 2020 (edited) @Patrick Sorry for mentioning. Felt like it was okay to do tho. EDIT: It wasn't sorry. Edited January 13, 2020 by Medusa Quote Link to comment Share on other sites More sharing options...
FuryShark Posted January 12, 2020 Share Posted January 12, 2020 (edited) getBot().getFocusEventHandler().loseFocus(); ? @RawrChad Edited January 12, 2020 by FuryShark Quote Link to comment Share on other sites More sharing options...
RawrChad Posted January 12, 2020 Author Share Posted January 12, 2020 3 hours ago, FuryShark said: getBot().getFocusEventHandler().loseFocus(); ? @RawrChad Thanks bb it worked. How did you find it? Quote Link to comment Share on other sites More sharing options...