z_index not present in canvas function
I don't know if it's a bug but besides one can define a "z_index" into a sketchpad I see that this option is missing from the canvas functions (rect, circle,line..).
I don't know if it's a bug but besides one can define a "z_index" into a sketchpad I see that this option is missing from the canvas functions (rect, circle,line..).
Comments
Hi,
The z-index for
sketchpadelements determines the order in which the elements are drawn. When you're using acanvasobject in aninline_script, the order in which the elements are drawn simply depends on the order in which you do this in the script. So a z-index is not necessary. Does that make sense?Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!