How to set where a prefab Instantiate's? [C#]

So I'm new to Unity and programming in general but for the life of me I can't find out how to set where my prefab spawns. Here's my code.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class QueenCreate : MonoBehaviour {

public GameObject worker;

// Use this for initialization
void Start () {



// Update is called once per frame
void Update () {


Please use code tags

As far as instantiate goes. The ScriptReference tells you all you need to know.

public Vector3 wotsText;
public GameObject wots;
public GameObject SP;

public void SomeMethod()
GameObject WotS;
WotS = (GameObject)Instantiate(wots, SP.transform.position, SP.transform.rotation);

Yeah I knew I was missing something with the code stuff. Honestly I didn’t look very hard. Anyway’s I looked at the ScriptReference but I didn’t really understand it.

Thanks for that I’ve finally got it sorted out!