Hello Richard. To get translucent onions without burning them, you need to use medium-low heat rather than high heat. Heat your pan with a bit of oil or butter, add the sliced onions, and cook them slowly for about 10 to 15 minutes, stirring occasionally.
If they start to brown too quickly, just lower the temperature slightly. Patience is key when cooking onions properly for a barbecue.