script for merging outline and color of sprite