A'llo, it would help a bit if you try to post in English too. Most of our members don't speak/read German.
Can you post a screenshot of the puzzle or link to a video example or something, so I can get a better understanding of what the puzzle is & how it's supposed to work?
Based on what you have said, I think a grid based approach is what you will need to use, which unfortunately for you will involve a bit of scripting - mostly array tables to create the grid, which you can use to query which squares are surrounding the one you click on.
It might be possible without scripting, but I should imagine that it would involve a lot more work to make it work.
hello thank you for your quick response and for taking the time to put my text into the google translator.
I think i managed to find a solution with Lua scripting,
but I have a problem i can't find a solution for.
I made the grid and found a way to store the button i click in
a variable, but now i need to change the Buttons picture from active to
inactive, in the documentation of the datastructures i found nothing about it.
But in the action Area for the Button's there is a option too change the active picture to
the passive by a trigger, but i don't know how to express this in code.
I Loop over all Buttons i want to change the picture of, so i thought maybe there is a
attribute i could change for those Buttons that would change the sprite, but i cant find
it in the docs.
Is there maybe a way to call the functions from the action Area in the Interface section, i will upload a screenshot so you know what i mean.
Edit:
I think to use active and inactive pictures might be not the best idea, since i cant highlight
the tile i'm hovering over with my mouse this way, so the best way would be
actually to change the sprite itself by changing the location/path.
Is this possible?