Trouble Calling a function

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jeejus

Heya! I’m having a bit of trouble calling the save function…

func _on_Area_body_entered(body):

this coding says that it is expecting at least 1 argument, but when i throw in the argument that is in the function:

func _on_Area_body_entered(body):

it says that content is not declared in the current scope. can you please help me fix this?

:bust_in_silhouette: Reply From: James122333

You must of not told the program what content is,
Could of been a typo
For example:

var content = ?