RESOLVED: [2023.11600] MouseIn CHOP monitor output not working

I’m attempting to use a MouseIn CHOP to determine which monitor my cursor is on, but the monitor channel is always stuck at 1.
I’m on windows 11.
monitor info:

Hi @tekt,

is this in Perform Mode? Does your window stretch over multiple monitors for this?

Currently can’t replicate with a 3080ti

cheers
Markus

It is not in perform mode.

It looks like it’s able to produce the monitor index for any monitor that is showing at least some portion of TouchDesigner, either the main window or a popup viewer.
So if all of TD is on monitor 1 it only shows 1.
If some of TD is on monitor 1 and some on monitor 2, it’ll show 1 and 2 correctly but won’t recognize 0.

Sometimes it will only switch to showing a monitor if the mouse is on top of whatever part of TD is on that monitor, but sometimes just having part of TD on that monitor makes it recognize the mouse anywhere on that monitor.

Hi @tekt,

the Mouse In CHOP does only work when the mouse is above the TouchDesigner window - perhaps the underlying issue / feature that is missing?

cheers
Markus

few years ago I wrote a patch to get mouse position outside of TD’s window

Since 2023.XXX builds a cleaned-up version of this patch has been added to Operator Snippets.
So @tekt open Help-Operator Snippets and look for the findMouse COMP under Mouse In CHOP

1 Like

Yeah that’s the issue.
Odd thing is that occasionally it was still reporting coordinates outside TD windows.

Awesome. That does what I need. Thanks!

Might make sense to move that into the palette for visibility