# Mouse Moved World Pos Y

Grammar — Mouse Y position in the world
FlagsNative | Function

Returns the mouse position in the Y axis. Use in response to a “Mouse Moved” event.

Returns — fixed

native fixed EventMouseMovedPosYWorld();

# Supported triggers

Category: UI / Input

# Examples

mods/frontiers.sc2modbase.sc2data/Lib6CB3363F.galaxy:1666


    lib6CB3363F_gv_fT_MousePosX[EventPlayer()] = EventMouseMovedPosXWorld();
    lib6CB3363F_gv_fT_MousePosY[EventPlayer()] = EventMouseMovedPosYWorld();
    return true;
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:8101


    if ((UnitGetType(libGame_gv_players[lv_player].lv_activeVehicle) == "HeroChen")) {
        libGDHL_gv_heroChenWanderingKegMoveTo[lv_player] = Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld());
        libGDHL_gv_heroChenWanderingKegAngleMoveTo[lv_player] = AngleBetweenPoints(UnitGetPosition(libGame_gv_players[lv_player].lv_activeVehicle), Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld()));
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:8102

    if ((UnitGetType(libGame_gv_players[lv_player].lv_activeVehicle) == "HeroChen")) {
        libGDHL_gv_heroChenWanderingKegMoveTo[lv_player] = Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld());
        libGDHL_gv_heroChenWanderingKegAngleMoveTo[lv_player] = AngleBetweenPoints(UnitGetPosition(libGame_gv_players[lv_player].lv_activeVehicle), Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld()));
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:8106


    if ((UnitGetType(libGame_gv_players[lv_player].lv_heroUnit) == "HeroChen")) {
        libGDHL_gv_heroChenWanderingKegMoveTo[lv_player] = Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld());
        libGDHL_gv_heroChenWanderingKegAngleMoveTo[lv_player] = AngleBetweenPoints(UnitGetPosition(libGame_gv_players[lv_player].lv_heroUnit), Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld()));
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:8107

    if ((UnitGetType(libGame_gv_players[lv_player].lv_heroUnit) == "HeroChen")) {
        libGDHL_gv_heroChenWanderingKegMoveTo[lv_player] = Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld());
        libGDHL_gv_heroChenWanderingKegAngleMoveTo[lv_player] = AngleBetweenPoints(UnitGetPosition(libGame_gv_players[lv_player].lv_heroUnit), Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld()));
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:23236


    libGDHL_gv_heroTinkerFirinMahLazorzMousePositionX[EventPlayer()] = EventMouseMovedPosXWorld();
    libGDHL_gv_heroTinkerFirinMahLazorzMousePositionY[EventPlayer()] = EventMouseMovedPosYWorld();
    return true;
}

mods/heromods/chogall.stormmodbase.stormdata/LibHCHO.galaxy:943

    }

    libHCHO_gv_surgingFistMousePosition[EventPlayer()] = Point(EventMouseMovedPosXWorld(), EventMouseMovedPosYWorld());
    return true;
}