Howdy, Stranger!

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

Supported by

Button does not appear

In SketchPad, I created a rectangular element for a button and set its x and y coordinates using script editor to [-60, 570] and overlayed the text 'Ok' on [-10, 600] as follows.

I have to use those values because the text that I have above this button will occupy up to y = 550. This is done so that the button appears below the text.

draw rect color=gray fill=1 h=64 penwidth=1 show_if=always w=120 x=-60 y=570 z_index=1

draw textline center=1 color=black font_bold=yes font_family=sans font_italic=no font_size=32 html=yes show_if=always text=Ok x=-10 y=600 z_index=0

However, this does not render when executing in OpenSesame. What am I doing wrong?

Comments

Sign In or Register to comment.