how can i make the sprites dissapear?

Blitz3D Forums/Blitz3D Programming/how can i make the sprites dissapear?

hi, i'm making a very simple FPS. and i have made a sprite appear where you shoot(like dirt or somthing), but i want it to dissapear after like 0.2 seconds or something like that, but
i don't know how to do that :/

the code i use:

If MouseHit(1)

CameraPick (camera1,siktx+15,sikty+15)
hitx=PickedX#()
hity=PickedY#()
hitz=PickedZ#()

EndIf

dirt=LoadSprite("dirt.bmp",4)
ScaleSprite dirt,0.5,1
PositionEntity dirt,PickedX#(),PickedY#()+f1,PickedZ#()