Forcing a mouse click with lua?

Is it possible?

gui.InternalMousePressed was added a while ago but I can’t get it working.

THis was asked before, but it did not give any good result as I remember.

The question would be why do you want to simulate a mouse click? Because that can certainly be forced with more ease.

Actually, I found a way around it. I guess this thread can be locked.

Will you tell how?

Doing it without forcing a click

How helpful.

He’s probably just using:


Or something like that.

Of course it is. There is no reason you would actually need to force the client into producing an input when you can call the results yourself.

I wrote this clientside module for that purpose a while ago