Next button not appearing

Hey y’all, beginner here
I’m having trouble with some of my routines. I’m similar routines in a row. After completing the first (clicking all sliders related to items) my “next” button appears bottom center - all good so far - I can click it and get to the next routine. Then at the next routine, after completing all the sliders related to the items the “next” button doesn’t appear visually but I can still click it to get to the next routine. The settings are exactly the same, so I don´t understand why it´s not working.

The picture shows the settings of the next button that does work.

If your routines are similar could you put them in a loop?

Alternatively, what code are you using to show the button? Is it referring to the wrong variables/objects?

Hi thank you for your chick answer!
Unfortunately I cannot just copy the other slide and adjust because the items and the codes are very different. It´s just similar in it´s structure that texts, clicked sliders, etc. are used.

I am am not very keen on using codes but I think these are the ones that cause trouble:

  next_frame_audit = new visual.Rect ({
    win: psychoJS.window, name: 'next_frame_audit', units : 'height', 
    width: [0.15, 0.07][0], height: [0.15, 0.07][1],
    ori: 0.0, 
    pos: [0, (- 0.4)], 
    draggable: false, 
    anchor: 'center', 
    lineWidth: 4.0, 
    lineColor: new util.Color([0.0, 0.0, 0.0]), 
    fillColor: new util.Color([0.0, 0.0, 0.0]), 
    colorSpace: 'rgb', 
    opacity: undefined, 
    depth: -5, 
    interpolate: true, 
  });
  
  next_button_audit = new visual.TextStim({
    win: psychoJS.window,
    name: 'next_button_audit',
    text: 'Weiter',
    font: 'Open Sans',
    units: 'height', 
    pos: [0, (- 0.4)], draggable: false, height: 0.03,  wrapWidth: undefined, ori: 0.0,
    languageStyle: 'LTR',
    color: new util.Color([0.0, 0.0, 0.0]),  opacity: undefined,
    depth: -6.0 
  });

  next_button_alcoholuse = new visual.TextStim({
    win: psychoJS.window,
    name: 'next_button_alcoholuse',
    text: 'Weiter',
    font: 'Open Sans',
    units: 'height', 
    pos: [0, (- 0.4)], draggable: false, height: 0.03,  wrapWidth: undefined, ori: 0.0,
    languageStyle: 'LTR',
    color: new util.Color([0.0, 0.0, 0.0]),  opacity: undefined,
    depth: -6.0 
  });

If you are creating the buttons in code, please could you show the Python as well?

If you are creating the buttons as components then I am more interested in the Basic tab and code related to the start condition.

Hello @wakecarter, I am using the buttons as components.
I am not sure what you mean with “basic tab” and which “code” you mean but I attached you some pictures of my buttons:
The display of my routine looks like this:


And the tab of the next button looks like the following:
,
.
Also I attached pictures of the frame of the specific routine:
,
,

Please let me know if this is what you mean.
Thank you and best regards