104,546pages on
this wiki
Add New Page
Add New Page Talk0
This article is a part of the documentation of the Sea (AddOn) function library
-- smartSetOwner (owner, tooltip, x, y)
-- Sets the tooltip relative to the owner in a position
-- appropriate for where the owner is on the screen.
-- owner - optional, the owner object, defaults to this
-- tooltip, optional, the tooltip to set, defaults to GameTooltip
-- setX, optional, sets the x offset(flipped based on screen corner)
-- setY, optional, sets the y offset(flipped based on screen corner)
-- Args:
-- 	(Frame owner, Tooltip tooltip, float x, float y)
-- 	owner - the new parent frame
-- 	tooltip - the tooltip to relocate
-- 	x - new x
-- 	y - new y

Also on Fandom

Random Wiki