Do I have to set the array to a specific type so that it will store the images or is it something else. The images are stored in the Images.xcassets
class GameScene: SKScene {
var blueTexture = SKTexture(imageNamed: "BlueBall.png")
var greenTexture = SKTexture(imageNamed: "GreenBall.png")
var redTexture = SKTexture(imageNamed: "redTexture.png")
var array = [blueTexture, greenTexture, redTexture]
//error: GameScene does not have a member called blueTexture
//this goes for the other textures as well