Forum Archive

Error message for comment?

heyguy4

```

coding: utf-8

from scene import *
import photos
import sound
import ui
import random
import math
A = Action

class MyScene (Scene):
def setup(self):
self.background_color = 'green'

            self.spriteName = LabelNode('h', font=('Helvetica', 20)
            '''
            self.spriteName.color = (0, 0, 1)

            '''

            self.spriteName.anchor_point = (5,5)
            self.spriteName.position = (50, 50)
            '''
            self.spriteName.texture = self.texture('plc:Gem_Blue')
            '''


    def did_change_size(self):
            pass



    def update(self):


    def touch_began(self, touch):
            pass

    def touch_moved(self, touch):
            pass

    def touch_ended(self, touch):
            pass

if name == 'main':
run(MyScene(), show_fps=False)```
Here's my program so far (it's unfinished). Why is line 19 a syntax error when it is just tree quotes at the bottom of a comment?

Webmaster4o

Duplicate... You can edit your post to fix formatting rather than creating a new one.

heyguy4

Sorry I'm new to this