# Move Point

Grammar — Move p To pos|Point
FlagsNative | Action

Moves a point to the specified position.

# Arguments

  • point — Point
  • point — Position

Returns — void

native void PointSet(point p1, point p2);

Category: Point / Creation And Modification

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6581

    TechTreeUpgradeAddLevel(gv_p02_ZERG_PURPLE_NE, "zerglingmovementspeed", 1);
    libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionEntireMap(), gv_p01_USER);
    PointSet(PointFromId(267), PointFromId(159));
    autoAD155875_g = UnitGroup(null, gv_p02_ZERG_PURPLE_NE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoAD155875_u = UnitGroupCount(autoAD155875_g, c_unitCountAll);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:6581

    TechTreeUpgradeAddLevel(gv_p02_ZERG_PURPLE_NE, "zerglingmovementspeed", 1);
    libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionEntireMap(), gv_p01_USER);
    PointSet(PointFromId(267), PointFromId(159));
    autoAD155875_g = UnitGroup(null, gv_p02_ZERG_PURPLE_NE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoAD155875_u = UnitGroupCount(autoAD155875_g, c_unitCountAll);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:948

    }

    PointSet(PointFromId(1914), PointFromId(13));
    auto4FA053DD_g = gv_enemyPlayerGroup;
    auto4FA053DD_var = -1;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:1504


        gf_MovePlatform(lv_nextLocation, lv_direction);
        PointSet(PointFromId(1914), gv_platformLocations[lv_nextLocation].lv_centerPoint);
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2mapMapScript.galaxy:948

    }

    PointSet(PointFromId(1914), PointFromId(13));
    auto4FA053DD_g = gv_enemyPlayerGroup;
    auto4FA053DD_var = -1;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2mapMapScript.galaxy:1504


        gf_MovePlatform(lv_nextLocation, lv_direction);
        PointSet(PointFromId(1914), gv_platformLocations[lv_nextLocation].lv_centerPoint);
    }

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:3766

    libPEB1_gv_currentStage = 2;
    TriggerExecute(libPEB1_gt_CleanupStage1, true, false);
    PointSet(PointFromName("Start Location 0012"), PointFromName("Start Location 12 - 2"));
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part2");
    auto5B65C9A2_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:4069

    DialogControlSetSize(libPEB1_gv_pZEMinimapPanel, PlayerGroupAll(), 334, 330);
    DialogControlSetSize(libPEB1_gv_pZEMinimap, PlayerGroupAll(), 330, 330);
    PointSet(PointFromName("Start Location 0012"), PointFromName("Start Location 12 - 3"));
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part3");
    auto12FEA934_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:8379

    TriggerExecute(libPEB1_gt_XPGainFromStage1, true, false);
    TriggerExecute(libPEB1_gt_CleanupStage1, true, false);
    PointSet(PointFromName("Start Location 0012"), PointFromName("Start Location 12 - 2"));
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part2");
    auto92C6E5AA_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:9020

    DialogControlSetSize(libPEB1_gv_pZEMinimapPanel, PlayerGroupAll(), 334, 330);
    DialogControlSetSize(libPEB1_gv_pZEMinimap, PlayerGroupAll(), 330, 330);
    PointSet(PointFromName("Start Location 0012"), PointFromName("Start Location 12 - 3"));
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part3");
    auto1A904ED2_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibMHmu.galaxy:1740

    if ((libMHmu_gv_elevator.lv_elevatorWasLowered == true)) {
        ActorSend(ActorFromDoodad(libMHmu_gv_elevator_Doodad), "Signal Up");
        PointSet(libNPLD_gv_neutralPayload.lv_pathWaypoints_StartLocation, libMHmu_gv_elevator_Point);
    }