DrawLine function (bge)

hi,

script-noob over here, but i managed to get a ‘laser beam’ from an object to my character when it comes to close to the object with the help of the script you see here below;

import bge
from bge import render

def main():

cont = bge.logic.getCurrentController()
own = cont.owner
ray = cont.sensors ["ray"]

if ray.positive:
    render.drawLine(own.worldPosition, ray.hitPosition, [0,1,0])

main()

Now i would like to set the thickness of the line and perhaps add some transparency as well. I’ve been searching on google for some help to achieve this without any luck so far. Can someone tell me how to set some parameters around drawLine?

Thx in advance.