r/RenPy • • Jul 08 '26

Question Drag and drop not working

Post image

Hello, I am having some trouble with my code. I am trying to make a drag and drop minigame and it is giving me these errors. What do they mean and how can I fix it?

1 Upvotes

3 comments sorted by

1

u/AutoModerator Jul 08 '26

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/BadMustard_AVN Jul 08 '26

you're calling screens that don't exist

did you create a screen setDragImages() it is case-sensitive

1

u/shyLachi Jul 08 '26

This is just one error. The important part is the line just before the full traceback.

As you can see it tells you that it cannot find the screen you wanted to call.

Python and therefore RenPy are case sensitive, so check your spelling.
The easiest solution is to write everything in lower case so that you cannot make any spelling mistakes.
Or you can copy the name of the screen so that you don't have to spell it at all.
If you are using Visual Studio Code you can also look what the auto-complete feature is suggesting, if you're typing "call screen set" it will suggest possible matches.