API TakeScreenshot

104,669pages on
this wiki
Add New Page
Talk0 Share

WoW API < TakeScreenshot
Icon-information-22x22This function is implemented by FrameXML in [DEPRECATED FrameXML/WorldFrame.lua].


Takes a screenshot.

Parameters Edit

Arguments Edit


Returns Edit


Example Edit


Details Edit

Takes a screenshot. The format of the file saved can be controlled via /console commands or settings. See the article on changing the screenshot format.
TakeScreenshot() is a blocking call. Once called the remainder of your Lua script is not executed. If you have script that you need to execute post screenshot you will need to use a state machine and subscribe to the OnUpdate event, or you will need to subscribe to the following events:
  • SCREENSHOT_FAILED Called when a screenshot fails.
  • SCREENSHOT_SUCCEEDED Called when a screenshot is successfully taken.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki