Script Description Available for
OnAnimFinishedRun when the model's animation finishesPlayerModel, DressUpModel, TabardModel
OnAttributeChangedRun when a frame attribute is changedFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnCharRun for each text character typed in the frameFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnCharCompositionRun when the edit box's input composition mode changesEditBox
OnClickRun when the button is clickedButton, CheckButton
OnColorSelectRun when the color select frame's color selection changesColorSelect
OnCursorChangedRun when the position of the text insertion cursor in the edit box changesEditBox
OnDisableRun when the frame is disabledFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnDoubleClickRun when the button is double-clickedButton, CheckButton
OnDragStartRun when the mouse is dragged starting in the frameFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnDragStopRun when the mouse button is released after a drag started in the frameFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnEditFocusGainedRun when the edit box becomes focused for keyboard inputBrowser, EditBox
OnEditFocusLostRun when the edit box loses keyboard input focusBrowser, EditBox
OnEnableRun when the frame is enabledFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnEnterRun when the mouse cursor enters the frame's interactive areaFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnEnterPressedRun when the Enter (or Return) key is pressed while the edit box has keyboard focusEditBox
OnEscapePressedRun when the Escape key is pressed while the edit box has keyboard focusBrowser, EditBox
OnEventRun whenever an [[docs/events|event]] fires for which the frame is registeredFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnFinishedRun when the animation (or animation group) finishes animatingAnimation, AnimationGroup, Alpha, Path, Rotation, Scale, Translation
OnHideRun when the frame's visbility changes to hiddenFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnHorizontalScrollRun when the scroll frame's horizontal scroll position changesScrollFrame
OnHyperlinkClickRun when the mouse clicks a hyperlink in the scrolling message frame or SimpleHTML frameEditBox, ScrollingMessageFrame, SimpleHTML
OnHyperlinkEnterRun when the mouse moves over a hyperlink in the scrolling message frame or SimpleHTML frameEditBox, ScrollingMessageFrame, SimpleHTML
OnHyperlinkLeaveRun when the mouse moves away from a hyperlink in the scrolling message frame or SimpleHTML frameEditBox, ScrollingMessageFrame, SimpleHTML
OnInputLanguageChangedRun when the edit box's language input mode changesEditBox
OnKeyDownRun when a keyboard key is pressed if the frame is keyboard enabledFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnKeyUpRun when a keyboard key is released if the frame is keyboard enabledFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnLeaveRun when the mouse cursor leaves the frame's interactive areaFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnLoadRun when the frame is createdAnimation, AnimationGroup, Alpha, Path, Rotation, Scale, Translation, Frame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnLoopRun when the animation group's loop state changesAnimationGroup
OnMessageScrollChangedRun when the scrolling message frame's scroll position changesScrollingMessageFrame
OnMinMaxChangedRun when the slider's or status bar's minimum and maximum values changeSlider, StatusBar
OnMouseDownRun when a mouse button is pressed while the cursor is over the frameFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnMouseUpRun when the mouse button is released following a mouse down action in the frameFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnMouseWheelRun when the frame receives a mouse wheel scrolling actionFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnMovieFinishedRun when a movie frame's movie endsMovieFrame
OnMovieHideSubtitleRuns when the movie's most recently displayed subtitle should be hiddenMovieFrame
OnMovieShowSubtitleRuns when a subtitle for the playing movie should be displayedMovieFrame
OnPauseRun when the animation (or animation group) is pausedAnimation, AnimationGroup, Alpha, Path, Rotation, Scale, Translation
OnPlayRun when the animation (or animation group) begins to playAnimation, AnimationGroup, Alpha, Path, Rotation, Scale, Translation
OnReceiveDragRun when the mouse button is released after dragging into the frameFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnScrollRangeChangedRun when the scroll frame's scroll position is changedScrollFrame
OnShowRun when the frame becomes visibleFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnSizeChangedRun when a frame's size changesFrame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnSpacePressedRun when the space bar is pressed while the edit box has keyboard focusEditBox
OnStopRun when the animation (or animation group) is stoppedAnimation, AnimationGroup, Alpha, Path, Rotation, Scale, Translation
OnTabPressedRun when the Tab key is pressed while the edit box has keyboard focusEditBox
OnTextChangedRun when the edit box's text is changedEditBox
OnTextSetRun when the edit box's text is set programmaticallyEditBox
OnTooltipAddMoneyRun when an amount of money should be added to the tooltipGameTooltip
OnTooltipClearedRun when the tooltip is hidden or its content is clearedGameTooltip
OnTooltipSetAchievementRun when the tooltip is filled with information about an achievementGameTooltip
OnTooltipSetDefaultAnchorRun when the tooltip is repositioned to its default anchor locationGameTooltip
OnTooltipSetEquipmentSetRun when the tooltip is filled with information about an equipment setGameTooltip
OnTooltipSetFrameStackRun when the tooltip is filled with a list of frames under the mouse cursorGameTooltip
OnTooltipSetItemRun when the tooltip is filled with information about an itemGameTooltip
OnTooltipSetQuestRun when the tooltip is filled with information about a questGameTooltip
OnTooltipSetSpellRun when the tooltip is filled with information about a spellGameTooltip
OnTooltipSetUnitRun when the tooltip is filled with information about a unitGameTooltip
OnUpdateRun each time the screen is drawn by the game engineAnimation, AnimationGroup, Alpha, Path, Rotation, Scale, Translation, Frame, ArchaeologyDigSiteFrame, Browser, Button, ColorSelect, Cooldown, EditBox, GameTooltip, MessageFrame, Minimap, MovieFrame, PlayerModel, QuestPOIFrame, ScenarioPOIFrame, ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, CheckButton, DressUpModel, TabardModel
OnUpdateModelRun when a model changes or animatesPlayerModel, DressUpModel, TabardModel
OnValueChangedRun when the slider's or status bar's value changesSlider, StatusBar
OnVerticalScrollRun when the scroll frame's vertical scroll position changesScrollFrame
PostClickRun immediately following the button's `OnClick` handler with the same argumentsButton, CheckButton
PreClickRun immediately before the button's `OnClick` handler with the same argumentsButton, CheckButton