Submitted: 2018-02-20 20:08:02
LoadImage    ( 1, "coin.png" ) // load a png image called 'coin'

SetImageTransparentColor(1,237,28,36) // make the border color of the coin image, (which is red), transparent.

CreateSprite  ( 2,1)  //  create a sprite with id(2)  and assign the coin image to it (id(1))

SetSpriteTransparency(2,2)    // (turn on the sprite transparency and make the sprites' red border invisible)
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.