Thank you your advice. (But I hope you to write with English)
I understand I have to add "this.depth = -1" and "this.depth = Math.round (ct.random (5))" to objects.
But where should I write them in? On Create, OnSterp or anything else?
I realized what I want with the code below
On Create
this.speed = 10 this.direction = 0 ct.camera.follow = this ct.camera.followY = false ct.camera.shiftX = 250
On Step
if ( ct.actions.Poof.down ){ this.gravity = 2 this.addSpeed(ct.delta * 4, 90) } if (ct.mouse.x < 10){ this.x = ct.mouse.x } if ( ct.mouse.y > 0 && ct.mouse.y < 1920){ this.y = ct.mouse.y } this.move();