Hello people;
I'm just asking if I can use the lines of a code(behavior) in another code like this:
I wrote this in /Player/behavior:
let velocity = this.actor.arcadeBody2D.getVelocity();
And now I want to use this in /Camera/cCamera
let characterVelocity = "Player".arcadeBody2D.getVelocity();
How can I do this?
I hope you can understand me....
Thanks, My English is to bad because I'm Spanish XD