Swift language does not work (colour)?
2 | func getPixel(_ p: UnsafeMutablePointer<Int>!, atX x: Int, y: Int) |
6 | print (getPixel(_:atX:- 925 y 800 )) |
sorry this isn't a Roblox question (but this is for Roblox, I'm just not using Lua to do it) but I just can't solve this & Im wondering if any of you can. Im trying to get the colour of a pixel at coordinates -925 & 800 using the Swift language, please help me Ive been working on this for hours & nothing works
error: repl.swift:37:21: error: expected ',' separator
print(getPixel(_:atX:-925y800))
^
,
error: repl.swift:37:21: error: expected expression in list of expressions
print(getPixel(_:atX:-925y800))
^
error: repl.swift:37:26: error: expected a digit after integer literal prefix
print(getPixel(_:atX:-925y800))