Search found 2 matches

by DaradBur
Fri Apr 25, 2025 1:08 pm
Forum: Modding interface requests
Topic: Allow setting number on choose-elem-button
Replies: 3
Views: 380

Re: Allow setting number on choose-elem-button

Seconded, this would help not having to have two distinct cases for circuit conditions.
by DaradBur
Sun Apr 06, 2025 1:04 pm
Forum: Modding help
Topic: How to detect when a mouse button is pressed, but not released?
Replies: 0
Views: 166

How to detect when a mouse button is pressed, but not released?

Hello,

As stated in the title, I wonder how/if it is possible to detect a key press, in this case a mouse button pressed?
Right now, on_gui_click fires after the mouse button is released.

I'm currently adding a custom inventory in my GUI, and I wanted to implement the Shift+LMB+drag feature.
I ...

Go to advanced search