OnDgsStopMoving

From Multi Theft Auto: Wiki

This event is triggered when a dgs element stops the aninimation which was started by dgsMoveTo

Parameters

none

Source

The source of this event is the dgs element which stopped its animation.

Example

DGS = exports.dgs
window = DGS:dgsCreateWindow(200,100,400,400,"DGS Parent Window",false)	--Create a window
DGS:dgsMoveTo(window,400,200,false,false,"OutQuad",2000)  --Set Animation
addEventHandler("onDgsStopMoving", window, function() 
   outputChatBox("Window has stopped moving")
end)

See Also

DGS events

Plugin

Media

Color Picker

QRCode

Remote Image

Client event functions