Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
0 votes
1 answer
82 views

I simply want the transformation to start at the clicked mouse position. It does not work (as I expected). Why not and what should I change? var x, y; const hint = document.getElementById('hint'); ...
RWC's user avatar
  • 5,082
1 vote
1 answer
54 views

I'm slowly getting into adapting Imagemapster to work the way I want it to. I'm looking for a way of clicking an area and opening another page with details of that area. Is there a way of doing this?...
RJPWilliams's user avatar
0 votes
1 answer
65 views

I have a working MinMax algorithm, tested in other situations, the JavaFX implementation doesn't work when the computer (MinMax) has to make the first move, I have to click first. There is a bug in ...
reizorwins's user avatar
1 vote
1 answer
239 views

I track a button click that other objects fly through with OnPointerDown, OnPointerUp, OnTriggerStay, and OnTriggerExit. The idea is to destroy the object when passing through the button. Below is the ...
Operator's user avatar
-1 votes
1 answer
55 views

In VB.Net I am putting a RectangleShape on a user control. When I click on the shape as a usercontrol I want the usercontrol Click Event to Activate. I have tried various things but to no avail. It ...
Mark Allan Wright's user avatar
0 votes
1 answer
57 views

I am trying to find a value using the location of the mouse cursors click, using pixel coordinates. The problem is that I have a function, def on_mouse(event, x, y). There are other things here inside ...
Sam Whitaker's user avatar
0 votes
0 answers
36 views

I have a full-screen click area. A tooltip appears near the mouse pointer on mouse click and disappears on mouse move. The code snippet seems to work fine. But when I embed the code on my website, it ...
John's user avatar
  • 127
1 vote
1 answer
722 views

I am trying to get coordinates of upper left corner of a dragable div inside parent div. I can get coordinates of mouse in parent div and this is done by a onmousemove tag. I wounder that is there any ...
Saeed Eisakhani's user avatar
1 vote
0 answers
861 views

I'm writing a simple cursor record webpage with Reactjs, the problem is the records array only updates whenever I click the button while my intention for it is to continuously update on mouse move. ...
Benedict Howard's user avatar
0 votes
0 answers
80 views

I want to make simply count the numbers automatically when mouse left click holding. I can make it on keyboard but cant on mouse. import keyboard a = 0 while True: try: if keyboard....
Enjoy_Kovboy's user avatar
1 vote
0 answers
220 views

I have an object in Unity (cube) which its material changes with mouse click. I want to show information about each material in a UI text. So, the information needs to be changed. I have written the ...
Shoraka's user avatar
  • 11
0 votes
2 answers
721 views

I want to print out a picture whenever the mouse is clicked on the screen. This is my current Javascript and HTML code. It only prints the h1, I don't know what I am doing wrong. var image = ...
Jayson Hanlon's user avatar
-1 votes
1 answer
58 views

function toggleHide(){ let btn = document.getElementById(`btn`); let para = document.getElementById(`para`); if(para.style.display != 'none'){ para.style.diplay = 'none'; } else{ para....
user avatar
0 votes
1 answer
7k views

I'm trying to implement an event handler for a button to change an element's content and I have this just as a sort of test to make sure things work, and they do. However, I'd assume that once I ...
JayMProd's user avatar
-1 votes
3 answers
4k views

I'm pretty new to Python and I'd like to make a kind of an Autoclicker, which keeps clicking every 0.1 seconds when my left mouse button is held down. My Problem is, that when I run my script, my ...
Dom's user avatar
  • 67

15 30 50 per page
1
2 3 4 5 6