function ActiveCanvas()

Returns the canvas that drawing commands are currently applied to

1 = OpenCanvas(640480006404800) 
2 = OpenCanvas(640480006404800) 
  
Canvas(1) 
  
If ActiveCanvas() = 1 Then 
   Print "Active canvas is c1" 
End If 
  
Canvas(2) 
  
If ActiveCanvas() = 2 Then 
   Print "Active canvas is now c2" 
End If