Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

z_index not present in canvas function

edited May 2015 in OpenSesame

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

  • edited 8:13AM

    Hi,

    The z-index for sketchpad elements determines the order in which the elements are drawn. When you're using a canvas object in an inline_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

Sign In or Register to comment.