import Foundation
func getPixel(_ p: UnsafeMutablePointer<Int>!, atX x: Int, y: Int)
{
return
}
print(getPixel(_:atX:-925y800))
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))

3 comments
I know nothing about "Swift" sorry!
You need to use lua.
I did use Lua, but Lua was way too slow for what I was trying to do, Swift is much faster but for some reason this is broken