How to display object always over other objects

Can this be done in playcanvas?
I’ve got a solid model (cube) and want to display an object (in this case a line) through the object. The crossing of the lines in the picture is in the middle of the object.
How do i do this?