Area I cant click - SOLVED

Started by Gepard, Sun 20/12/2020 14:54:00

Previous topic - Next topic

Gepard

I have somewhat unusual problem with the AGS (version 3.3.5.11). Bottom right corner of the screen is unclickable. No matter what I do it doesnt react. My resolution is 800x600. The area that is inactive is not large, some 160 by 50 pixels, but it is getting in a way now. There used to be a Gui in that place but I've deleted it and now there is this dead area in every room, where I cant click. Help please :(
Drink up me 'arties! Yo ho!

Cassiebsg

Seems to me that the GUI that you "deleted" is there there.
How exactly did you deleted it?
There are those who believe that life here began out there...

Crimson Wizard

Either there's still a transparent clickable GUI there, or your script literally tells to skip mouse clicks in that area. Double check every gui you have, if it's not gui then check what's in your on_mouse_click function(s).

Khris

Add this to your global script:
Code: ags
function on_event(EventType event, int data) {
  if (event == eEventGUIMouseDown) {
    Display("Click on GUI #%d", data);
  }
}

Now click the dead area again.

Gepard

Thank you guys,

I was finally able to find what the problem was. I had another GUI with @OVERHOTSPOT@ label that kept returning to that position for some reason.

Sorry!
Drink up me 'arties! Yo ho!

SMF spam blocked by CleanTalk