using System; using System.Drawing; public static class DisplayFusionFunction { public static void Run(IntPtr windowHandle) { // Set the ID of the TV here uint tvID = 3; // Check if the mouse is on the TV and move the window if so if (BFS.Monitor.GetMonitorIDByXY(BFS.Input.GetMousePositionX(), BFS.Input.GetMousePositionY()) == tvID) { BFS.Window.MoveToMonitor(tvID, windowHandle); } } }