C_PingSecure.GetTargetWorldPing

From Warcraft Wiki
Jump to navigation Jump to search

Prepares the ping system for a ping in the game world.

foundTarget = C_PingSecure.GetTargetWorldPing(mousePosX, mousePosY)

Arguments

mousePosX
number
mousePosY
number

Returns

foundTarget
boolean - True if the supplied position can be pinged.

Details

  • The coordinates supplied to this function should typically be the return values of GetCursorPosition.
  • This function should be followed up by a call to C_PingSecure.SendPing with the target parameter omitted to submit the ping at the requested position.

Patch changes

Dragonflight Patch 10.1.7 (2023-09-05): Added.