You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library works well as is, but I personally have a preference to attach an event listener and have the library call my function when the action occurs rather than having to check it manually in the update loop. It essentially does the same thing but eliminates some boilerplate for the users of the library.