Whenever I use this function, My screen goes white.
i got code now so thats cool
if(Sup.Input.isKeyDown("RIGHT") && turncoin > 0){
let orientation = new Sup.Math.Quaternion(0, 0, 90, 0);
this.actor.setOrientation(orientation);
stage = "static";
turncoin = turncoin - 25;
}