'Can turtle detect drawings of other turtles on screen?

So I have been trying to make a game where one turtle is controlled by a player (t1) and another turtle goes to random coordinates to create obstacles. Is it possible for the t1 to detect that it is in the drawing of another turtle? From what I have read, it doesn't seem possible. I do not want to add multiple turtles so they each make a single obstacle, as I want to keep it as simple as possible.

Here is the code:

def forward():
    t1.seth(90)
    t1.forward(25)
    if t1.distance(square)<25:
        levelcomplete()
    
def back():
    t1.seth(270)
    t1.forward(25)
    if t1.distance(square)<25:
        levelcomplete()
    
def left():
    t1.seth(180)
    t1.forward(25)
    if t1.distance(square)<25:
        levelcomplete()
    
def right():
    t1.seth(0)
    t1.forward(25)
    if t1.distance(square)<25:
        levelcomplete()

def commands():
    t1.listen()
    t1.onkey(forward, 'Up')
    t1.onkey(back,'Down')
    t1.onkey(left,'Left')
    t1.onkey(right,'Right')
    
def coordx():
    x=random.randint(-600,600)
    return x

def coordy():
    y=random.randint(-175,175)
    return y

def length():
    l=random.randint(50,200)
    return l

def width():
    w=random.randint(50,100)
    return w

def screensetup():
    screen.bgpic('lvl1.png')
    t1.home()
    base()
    t2.ht()
    t2.color('blue')
    t2.speed(1000)
    for n in range(10):
        t2.penup()
        t2.goto(coordx(),coordy())
        t2.pendown()
        t2.begin_fill()
        for i in range(2):
            t2.forward(200)
            t2.left(90)
            t2.forward(75)
            t2.left(90)
        t2.end_fill()
        t2.penup()

def base():
    square.color('green')
    square.penup()
    square.ht()
    square.goto(600,300)
    square.penup()
    square.begin_fill()
    square.seth(0)
    for i in range(4):
        square.forward(50)
        square.right(90)
    square.end_fill()
    square.penup()
    square.st()
    square.goto(635,265)

def levelcomplete():
    square.clear()
    square.ht()
    t2.clear()
    screen.bgpic('leveldone.png')
    reset()

def reset():
    screen.onkeypress(screensetup, 'Return')
    
    
import turtle
import random

t1 = turtle
t2 = turtle.Turtle()
screen = turtle
square = turtle.Turtle()

t1.speed(1)
t1.penup()
screen.bgpic('lvl1.png')
turtle.shape('turtle')

screensetup()
commands()


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source