Communication between scripts

How do I send the result of one event called(which button mouse clicked) in one script to another script that should do something with the value of that button… So what I need is help with communication between two scripts, how do you send parameters from one to another?

Hi @adnacolakovic,

You can use PlayCanvas events to do that easily. Check the following manual page it explains the concept of communication between scripts: