# Creating a UI with drag-and-drop and clicking on components in same view

**URL:** <https://discourse.psychopy.org/t/creating-a-ui-with-drag-and-drop-and-clicking-on-components-in-same-view/30237>\
**Category:** Builder\
**Tags:** screen\
**Created:** [August 1, 2022, 1:49am UTC](https://discourse.psychopy.org/t/creating-a-ui-with-drag-and-drop-and-clicking-on-components-in-same-view/30237 "2022-08-01T01:49:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatthewKligerman](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/matthewkligerman/32/34973_2.png) [@MatthewKligerman](https://discourse.psychopy.org/u/MatthewKligerman)\
**Post date:** [August 1, 2022, 1:49am UTC](https://discourse.psychopy.org/t/creating-a-ui-with-drag-and-drop-and-clicking-on-components-in-same-view/30237/1 "2022-08-01T01:49:51Z")

</div>

I am new to PsychoPy.

Is there a view via which I can view all of the Components in a Subroutine at a discrete point in time? It would be easier to view everything at once so that I can resize and rearrange my components on the screen. Is there a way that I can do this, or do I just need to continue to adjust the Components one at a time, stay cognizant of the positioning and sizes of the other Components, and then validate it when I run the experiment in debug?

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/michael/32/16_2.png) [@Michael](https://discourse.psychopy.org/u/Michael)\
**Post date:** [August 3, 2022, 10:40pm UTC](https://discourse.psychopy.org/t/creating-a-ui-with-drag-and-drop-and-clicking-on-components-in-same-view/30237/2 "2022-08-03T22:40:45Z")

</div>

PsychoPy’s GUI has adopted a fundamentally timeline-based approach (like video or audio editing software), rather than one based on spatial layout (like PowerPoint, or E-prime). i.e. it doesn’t offer the approach you are after.

An alternative is OpenSesame: [https://osdoc.cogsci.nl](https://osdoc.cogsci.nl)

OpenSesame can use PsychoPy’s code behind the scenes to actually run the experiment, but implements the spatial GUI you are after. This is the beauty of open source code: people can adapt it and do different things with it. The spatial approach comes with its own limitations of course (particularly for time-varying stimuli). Perhaps you should try both and see which you actually prefer in practice.
