Temporary workaround for no layout editor

While the PsychoPy team is working on a layout editor, I have a simple workaround:

  1. Create the visual layout of the page in PowerPoint or whatever graphical editor you prefer.
  2. Export the graphic to png.
  3. Load the graphic into a PsychoPy app.
  4. Use left-click to locate the upper-left corner of an object (like a rectangle) and a right-click to locate the lower-right corner of the object.
  5. Use PsychoPy to calculate the width and height.
  6. Display the coordinates on the screen.
  7. Add the invisible button over the object using those coordinates.

This can save a lot of time if you have lots of objects on the page that you want to be active.

Hi. Have you written a Builder or Coder file which does this?

Yes but it has sensitive information in it. if you are interested, I will modify and share.

Claude Code generated an even better app in about 1 minute! It saved the data to a file without me even asking for that! In the words of Rocky in the movie Project Hail Mary “Amaze! Amaze! Amaze!”