Problem with mousearea

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
RanmaRanma
Newbie
Posts: 11
Joined: Sun May 07, 2017 12:08 pm
Contact:

Problem with mousearea

#1 Post by RanmaRanma »

Hello,

I have an imagebutton you can click that calls this screen. I want it to where if you move off the area, the screen closes itself. When I run this code, the game freezes and control is not given back to user. The other screens hide and nothing works anymore. Why is this happening?

screen phone:
tag menu
add "phone.png"

mousearea:
area (400, 400, 1000, 1000)
unhovered Hide("phone", transition=dissolve)

Post Reply

Who is online

Users browsing this forum: No registered users