975 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
106
views
MouseMove is not moving the mouse cursor
I'm creating a program where everything works fine, except for the MouseMove instruction. i got the x,y coordinates from using GetMousePos then saving it to the clipboard
Why is MouseMove not actually ...
4
votes
0
answers
76
views
Changing mouse movement axis
I am have a two-display computer setup, with a laptop screen close to me and a rotated, larger monitor behind it. When I expand my screen, the mouse movement is messy because x and y axes are normal ...
1
vote
2
answers
177
views
Multiple image trails following cursor with Javascript
I'm trying to create multiple image trails for a grid. Each trail follow the cursor, I found an example on Codepen to illustrate the effect I'm looking for. The example is made with GSAP, but for this ...
0
votes
1
answer
69
views
Multiple cursors follow mouse in Javascript
I have a grid with multiple items. Each item has its own custom cursor with the div .grid__item-cursor.
What I'm trying to achieve is when hovering an item, its cursor follows the mouse with a smooth ...
1
vote
2
answers
62
views
Cannot target button element on mousemove event
My js code is supposed to target the button class and add the cursor-hover-nav on my cursor class
I tried adding a padding on my button and the script worked only when I hovered over the padding and ...
1
vote
2
answers
198
views
Why sometimes mouseup does not work properly when mousemove is fired after mousedown on an targeted element
I am trying to create a draggable input field. On click of 'Create input' button, an input is created and a mousedown event is registered on the created input. And dragStart is fired, which further ...
1
vote
3
answers
102
views
SVG tracks mouse issue with Javascript
I have A SVG with two eyes where each pupil tracks the mouse position.
The issue is, the two eyes acts individually and not as a group. For example if you position the cursor between both eyes, the ...
0
votes
1
answer
133
views
C# Winform ArgumentException was unhandled
I simply want to display the mouse position on a copy of the desktop.
I have a form that is borderless, maximized and contains a PictureBox with DockStyle.Fill. In the form constructor I create a ...
0
votes
1
answer
95
views
MouseMove event work with jump between two location?
I wrote a class for labels that I want to be able to move and resize at runtime with the mouse.
This is easily done by adding three mouse events (label.MouseDown, label.MouseUp, label.MouseMove)
...
-1
votes
1
answer
104
views
How to make Popup movable in c# WPF more than once?
I have created a usercontrol which uses
<UserControl .......
MouseMove="UserControl_MouseMove"
MouseLeftButtonUp="UserControl_MouseLeftButtonUp&...
user avatar
user23077506
0
votes
2
answers
64
views
How do I check if a the mouse has touched a Javascript object that is randomly generated?
I am attempting to create a game where objects (currently circles) are randomly generated within a canvas, and the objects and their positions (plus other info) are stored within an array.
The objects ...
1
vote
1
answer
75
views
Unexpected behavior with javascript mouse events
What I wanted: a div "dragItem" should be moved horizontally.
If the mouse cursor is on top of a div with the class "tag", then the position of "dragItem" will be changed....
0
votes
0
answers
70
views
moving multiple div Element with mouse
I have a code that can move a div object with the mouse.
let moverclass = {
__init: function () {
var elem = document.querySelector('.mover'),
div = document.querySelector('....
0
votes
1
answer
716
views
How can I write an apple script that moves the mouse to a certain position after being idle?
I was searching for a way to move the mouse after some time of inactivity on a MacBook, and due to some constrains, the idle setting in the OS are not accessible, nor are some software that move the ...
1
vote
1
answer
110
views
Why is the ball only rolling to the right?
I've been experimenting with creating a bouncing ball animation.
I've encountered a peculiar issue. I've managed to get the ball to bounce but, for some reason, it seems to only roll to the right ...