Version: 2018.1
public Canvas rootCanvas ;

Description

Returns the Canvas closest to root, by checking through each parent and returning the last canvas found. If no other canvas is found then the canvas will return itself.

See Also: isRootCanvas.