Playspeed:=2 Loop, 2000 { SetTitleMatchMode, 2 CoordMode, Mouse, Screen tt = CatFantasy ahk_class UnityWndClass WinWait, %tt% IfWinNotActive, %tt%,, WinActivate, %tt% Sleep, % 500 //playspeed MouseClick, L, 2703, 990 Sleep, 500 //PlaySpeed }