Is there a way I can pass a variable as a parameter through a function?
I have made the following scene variable: xPositionObject1 and xPositionObject2, ,. These positions are calculated based on some conditions.
Now, I want to create a variable say, xPosition. And using functions I want to pass the value of this variable through the parameters.