AFRAME - Get when NOT hovering over entity

Hello!

Simple question, but I can’t figure it out. How do I get when I’m NOT hovering over an entity? ‘mouseleave’ only calls once, so that isn’t plausible.

just set a boolean to false on mouse enter and true on mouse leave and then in your render loop simply say

if (bool){
 // entity is not being hovered
}
else{
 // entity is being hovered
}

Yeah, I knew it was a simple question, but I will use this. I tried before, and the program didn’t seem to like it, but I know what I did wrong now. Thanks!

and would you happen to know how to set gravity for specific objects in the aframe-physics-system? I know I should make a new post, but I thought I might as well ask.

That sounds like a question for the Aframe forum, I have no idea about physics in Aframe

alrighty, thanks!