z(z: number): ZCompDetermines the draw order for objects on the same layer. Object will be drawn on top if z value is bigger.