The node you are looking for is at
fl_get_canvas_depth()
.