I want to use mouse hover like selecting object performing events during launcing

Check this example how it switches the material on the object from one color to the other:

https://developer.playcanvas.com/en/tutorials/switching-materials-at-runtime/