active

abstract val active: Boolean(source)

Whether the window has been interacted with recently. This will change immediately on activity, or after a short time of user inactivity.

Online Documentation