I have my spell system complete in code, and I made a collision box for where I want that area to be, but I'm not entirely sure how to go about having the "cast" command actually spawn that area in front of the player for the specified duration, size, etc.
#Check is spell is empty
if queue_counter == 0:
print("Your spell is empty!")
#If spell is full, cast
elif queue_counter == 3:
queue_counter = 0
print()
return(cast_queue)
else: print("Your spell isn't full!")```
cast_queue is the full list of all variables of an assembled spell including the name, duration, and size of the collisionbox I want to spawn. What should I put in place of my print+return script to actually call on the asset I made?