Hi Gurra,
1) first of all, I would suggest you to load your sprite at the beginning of your program. Then, when you need to show it, use PositionEntity.
In case you need more instances of your sprite, just use CopyEntity. This way you use the LoadSprite only once in your code, and that is good practice, since any Load... command slows down the program.
2) to make any entity to disappear - and a sprite is treated like an entity - you have two possibilities: HideEntity and FreeEntity.
The first one just hide the entity, but it remains in memory (that is, you can later show it again). The second one deletes it permanently, and releases the associated memory for it.
Hope this has sense for you,
Sergio.
1) first of all, I would suggest you to load your sprite at the beginning of your program. Then, when you need to show it, use PositionEntity.
In case you need more instances of your sprite, just use CopyEntity. This way you use the LoadSprite only once in your code, and that is good practice, since any Load... command slows down the program.
2) to make any entity to disappear - and a sprite is treated like an entity - you have two possibilities: HideEntity and FreeEntity.
The first one just hide the entity, but it remains in memory (that is, you can later show it again). The second one deletes it permanently, and releases the associated memory for it.
Hope this has sense for you,
Sergio.